Hello,
I can not figure out how to setup timeout (request processing takes to much
time) and size limit for output data.
I am starting server like this:
serve(application,
host='0.0.0.0',
port=port,
cleanup_interval=2,
channel_timeout=4
)
I am using Werkzeug Request and Response objects and jsonrpcserver dispatch
method to delegate request to my processing method. In this method I have
time.sleep(timeToSleep)
But even I setup timeToSleep much bigger (30s) than channel_timeout (4s) I
can seen that the request is always processed sucefully?
For output size limit I even can not find any setting argument.
In best case, if one of these limit would be fulfill the server
stop/cancel/kill according process/thread and returns to client some
meaningful response.
Thanks for any help.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pylons-discuss/e2f650bb-fdc7-4a72-a769-129280354c15%40googlegroups.com.