MCPcopy Create free account
hub / github.com/celery/celery / __init__

Method __init__

celery/concurrency/thread.py:37–39  ·  view source on GitHub ↗
(self, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

35 signal_safe = False
36
37 def __init__(self, *args: Any, **kwargs: Any) -> None:
38 super().__init__(*args, **kwargs)
39 self.executor = ThreadPoolExecutor(max_workers=self.limit)
40
41 def on_stop(self) -> None:
42 self.executor.shutdown(cancel_futures=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected