Closed warut-vijit closed 7 years ago
You need to use multiprocessing
for this because CPython has the GIL. CPU-bound workloads will block all threads.
Unfortunately multiprocessing
is incompatible with Twisted. So #15 should be figured out first.
Will publish changes for this along with for #15
Use
threading
library to free up main thread for handling user requests. Prevents blocking due towhile
loop, and will allow plugin parameters to be edited at runtime.