Where to sys.setcheckinterval() for plone/zope? (was: Re: [Zope] Re:
SMP and Zope.
Jens Nachtigall
nachtigall at web.de
Fri Mar 18 06:20:05 EST 2005
> Right, this does not however keep you from putting
>
> import sys
> sys.setcheckinterval(1000)
>
>
> someplace where it *does* get picked up...
For a normal plone site: Where would it get picked up? I added it to the
beginning of $SOFTWARE_HOME/Zope/Startup/zopectl.py (the script called
by "zopectl start"). However, the new checkinterval ist not passed on
to the rest. Do I have to set this at the beginning of each script?
Where would be a suitable place/file to add this setting?
Jens
PS Sorry for not keeping this mail in line with the thread, but I only
found it via google and subscribe to zope-list afterwards.
>
> Stefan
>
>
> On 15. Mär 2005, at 17:48, Andrew Langmead wrote:
>
> > On Mar 15, 2005, at 11:31 AM, Stefan H. Holek wrote:
> >
> >> Rule of thumb is: checkinterval = pystones / 50
> >
> > Before everyone goes adjusting their zope.conf's
> > python-check-interval, I think I should point out that the
> > configuration option is ignored in versions of Zope 2.7 previous to
> > the Zope-2.7.5 beta release. In Zope 2.7.0 through 2.7.4, you are
> > getting Python 2.3's default checkinterval of 100 no matter what
your
> > zope.conf file says.
> >
More information about the Zope
mailing list