[plt-scheme] plt web-server: adjust-timeout! ?
How, wait. I get this message:
http://localhost/servlets;4*1*1739593/hwiki.scm/special:edit.html?context=
Not Found
Couldn't find what you were looking for. Sorry.
Also when I set the initial value of the timeout to 120 or 1200.
After about just as much time.
Any ideas?
--Hans
Hans Oesterholt-Dijkema schreef:
> Dear Jay,
>
> Thanks for the answer. I've seen the code. adjust-timeout! is called
> with the timeout value of the servlet just before the servlet is started.
>
> However, when I call adjust-timeout! from the servlet itself, somehow,
> it doesn't work. Suppose I put the value to * 3 3600 (3 hours), I still
> get an expiration after the initial 120 seconds (or maybe even faster).
>
> I'm debugging your 360 code (just getting to revise-timer), but I'm
> still not seeing why it doesn't work.
>
> What could be wrong?
>
> --Hans
>
>
> Jay McCarthy schreef:
>> adjust-timeout! does not change the timeout variable. It communicates
>> an update to the internal timeout counter. The timeout variable should
>> really have been named 'initial-timeout', but it is too late.
>>
>> Jay
>>
>> On 6/28/07, Hans Oesterholt-Dijkema <hdnews at gawab.com> wrote:
>>> Hi there,
>>>
>>> I'm trying to use adjust-timeout! to control the timeout
>>> behaviour of a module type servlet in the mzscheme
>>> web-server.
>>>
>>> However, adjust-timeout! doesn't seem to be working.
>>> Whatever I use as a value. The value of the timeout variable
>>> stays the same.
>>>
>>> What should I do to make this work?
>>>
>>> --hans
>>>
>>> _________________________________________________
>>> For list-related administrative tasks:
>>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>>
>>
>>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070629/8c745f74/attachment.html>