diff --git a/src/snek/service/channel_message.py b/src/snek/service/channel_message.py index eafb592..9f6ba74 100644 --- a/src/snek/service/channel_message.py +++ b/src/snek/service/channel_message.py @@ -29,7 +29,8 @@ class ChannelMessageService(BaseService): self._max_workers = 1 def get_or_create_executor(self, uid): if not uid in self._executor_pools: - self._executor_pools[uid] = ProcessPoolExecutor(max_workers=5) + self._executor_pools[uid] = ProcessPoolExecutor(max_workers=1) + print("Executors available", len(self._executor_pools)) return self._executor_pools[uid] def delete_executor(self, uid):