2 ms·
In case anyone was wondering, this is wrapped in a cooperator for a reason. At every yield, the reactor is given a chance to act. That's important, because othe
by lvh 14y ago
In case anyone was wondering, this is wrapped in a cooperator for a reason. At every yield, the reactor is given a chance to act. That's important, because otherwise the reporting function would only ever run after you've made all the requests, which is probably not quite what you want :)
Also, you might want to replace the automatic rescheduling with twisted.internet.task.LoopingCall.