
April 26, 2004
9:42 a.m.
On Mon, 2004-04-26 at 00:27, Sam Couter wrote:
The callbacks are never called while iterate() runs, but are called if iterate() is replaced with run(), or if run() is called after iterate().
The threadpool used by the database is never initialized if you don't use run(). I suggest you look at twisted.test.test_enterprise and see how it deals with initializing and stopping the db in tests (or just use reactor.run() wiith reactor.crash(), though you'll still need to stop the threadpool manually). -- Itamar Shtull-Trauring http://itamarst.org Looking for a job -- http://itamarst.org/resume.html