Closed Galarzaa90 closed 6 years ago
Right now, the loot command uses PIL (aka Pillow) inside coroutines, but PIL itself is blocking.
It needs to be run in an executor so a new thread is created for this.
await loop.run_in_executor(None, sync_func, *args)
Right now, the loot command uses PIL (aka Pillow) inside coroutines, but PIL itself is blocking.
It needs to be run in an executor so a new thread is created for this.