Tuesday, December 25, 2012

Twisted Cyclone + Thread Pool

If for some reason you need a threadpool when running cyclone, and it works while launching the server on no daemon mode, but fails to run the threads when running twistd, remember to fuc***ing add
reactor.callWhenRunning(MyClassWithThreadPool.start)