MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / create_pool_executor

Method create_pool_executor

octobot/task_manager.py:163–164  ·  view source on GitHub ↗
(self, workers=2)

Source from the content-addressed store, hash-verified

161 return cls.__name__
162
163 def create_pool_executor(self, workers=2):
164 self.executors = thread.ThreadPoolExecutor(max_workers=workers)
165
166 def _loop_exception_handler(self, loop, context):
167 loop_str = "bot main async" if loop is self.async_loop else {loop}

Callers 3

start_tools_tasksMethod · 0.95
_init_botFunction · 0.80

Calls

no outgoing calls

Tested by 1