On 04/18/2011 11:36 AM, Ivan wrote:
> Thanks, but how to kill workers by timeout in this example ?

You can't kill threads reliably in python AIUI.

If you want to reliably kill a task, spawn a process.

Alternatively you might see if you can break the task up into small 
pieces of work, and schedule it in the mainloop using something like 
task.cooperator.

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to