Revert "ee/connectors/consumer_pool: make the number of workers configurable"

This reverts commit 144a930193.
This commit is contained in:
Amirouche BOUBEKKI 2023-10-31 11:09:30 +01:00
parent 144a930193
commit 53bdc0d38b

View file

@ -10,7 +10,7 @@ def main():
database_api = DBConnection(DATABASE)
allowed_projects = config('PROJECT_IDS', default=None, cast=Csv(int))
w_pool = WorkerPool(n_workers=config('OR_EE_CONNECTOR_WORKER_COUNT'),
w_pool = WorkerPool(n_workers=60,
project_filter=allowed_projects)
try:
w_pool.load_checkpoint(database_api)