apscheduler.executors.pool
¶
Module Contents¶
-
class
apscheduler.executors.pool.
ThreadPoolExecutor
(max_workers=10, pool_kwargs=None)¶ An executor that runs jobs in a concurrent.futures thread pool.
Plugin alias:
threadpool
- Parameters
max_workers – the maximum number of spawned threads.
pool_kwargs – dict of keyword arguments to pass to the underlying ThreadPoolExecutor constructor
-
class
apscheduler.executors.pool.
ProcessPoolExecutor
(max_workers=10, pool_kwargs=None)¶ An executor that runs jobs in a concurrent.futures process pool.
Plugin alias:
processpool
- Parameters
max_workers – the maximum number of spawned processes.
pool_kwargs – dict of keyword arguments to pass to the underlying ProcessPoolExecutor constructor