That's essentially the effect I was going for.  No need to change
DEFAULT_MIN_THREADS, changing DEFAULT_MAX_THREADS should have the
desired effect.

On Nov 23, 10:59 pm, Anthony <abasta...@gmail.com> wrote:
> I went into rocket.py and set both DEFAULT_MIN_THREADS and
> DEFAULT_MAX_THREADS to 0, and the problem I described (i.e., long load
> times when trying to load apps into separate IE browser tabs) seems to
> go away (apps now load instantly in new IE tabs).
>
> Anthony
>
> On Nov 23, 11:48 pm, Anthony <abasta...@gmail.com> wrote:
>
>
>
>
>
>
>
> > On Nov 23, 9:26 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
>
> > > > On Nov 23, 8:10 pm, Timbo <tfarr...@owassobible.org> wrote:
> > > >> Set numthreads=0 in your options.py.  See if you still see this
> > > >> behavior.
>
> > > > options.py is just for running web2py as a Windows service, no? I'm
> > > > not running web2py as a Windows service when I observe the problem.
>
> > > If you're running from the command line, use --options 0.
>
> > Do you mean use the -n command line option to set numthreads to 0,
> > e.g.:
>
> >    python web2py.py -a password -i 127.0.0.1 -p 8000 -n 0
>
> > I tried this, but in that case, I can't get 127.0.0.1:8000 to load at
> > all (it just hangs indefinitely).
>
> > Anthony

Reply via email to