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

Method create_pool_executor

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

Source from the content-addressed store, hash-verified

160 return cls.__name__
161
162 def create_pool_executor(self, workers=2):
163 self.executors = thread.ThreadPoolExecutor(max_workers=workers)
164
165 def _loop_exception_handler(self, loop, context):
166 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