Part of lp.bugs.scripts.checkwatches View In Hierarchy
Method | __init__ | Create a new TwistedThreadScheduler . |
Method | schedule | Add a job to be run. |
Method | run | Run the jobs. |
TwistedThreadScheduler
.Parameters | num_threads | The number of threads to allocate to the thread pool. (type: int) |
install_signal_handlers | Whether the Twisted reactor should install signal handlers or not. This is intented for testing - set to False to avoid layer violations - but may be useful in other situations. (type: bool) |