Thank you Roberto, that put me on the right track.  I tried your suggestion but was still experiencing the behavior, but once I shifted the order to the below, things started working as expected.


# Here we are going to set up routes that have their own harakiri timers.

route = ^/admin/ harakiri:300

route = ^/analytics/ harakiri:180


# Default timeout for other requests

route-run = harakiri:30




--
Jon Chappell
[email protected]

On June 7, 2013 at 8:24:35 AM, Roberto De Ioris ([email protected]) wrote:


> Greetings,
>
> We are attempting to use the new 1.9.11 routing feature to increase the
> harakiri timer for two specific routes as shown below:
>
>
> route = ^/admin/ harakiri:300
> route = ^/analytics/ harakiri:180
>
>

"main" harakiri has always precedence over "user" harakiri.

I suggest you removing the "main" harakiri and setting it per-request

; set default for each request
route-run = harakiri:30
; override it when needed
route = ^/admin/ harakiri:300
route = ^/analytics/ harakiri:180


--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to