[Twisted-Python] process timing / idle handler

Henning.Ramm at mediapro-gmbh.de Henning.Ramm at mediapro-gmbh.de
Wed Sep 14 15:31:37 EDT 2005


I often use reactor.callLater(0, something) to let twisted handle and intercept my call queue.
Is this really preferable to calling 'something' directly? Or do I just fool myself?

Is there something like reactor.OnIdle()?
Or, more generally, how could I delay some actions (intermediate cleanup etc.) until the computer has free resources?
(Some of my processes run on a very high loaded server.)

Best regards,
Henning Hraban Ramm
Südkurier Medienhaus / MediaPro
Support/Admin/Development Dept.

More information about the Twisted-Python mailing list