Skip to content

Commit

Permalink
set a quite high concurency per dataseries by default to keep 'old' b…
Browse files Browse the repository at this point in the history
…ehaviour
  • Loading branch information
s4ke committed Nov 10, 2024
1 parent 339b12f commit 522f904
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion skipper/skipper/environment_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
# cooldown after requeueing a chunk
# so we dont overload the system with requeues
SKIPPER_CELERY_PERSIST_DATA_POINT_CHUNK_REQUEUE_COOLDOWN_MINUTES = int(os.environ.get('SKIPPER_CELERY_PERSIST_DATA_POINT_CHUNK_REQUEUE_COOLDOWN_MINUTES', 40))
SKIPPER_CELERY_DATA_SERIES_BULK_ASYNC_CONCURRENCY_PER_DATA_SERIES = int(os.environ.get('SKIPPER_CELERY_DATA_SERIES_BULK_ASYNC_CONCURRENCY_PER_DATA_SERIES', '4'))
# by default we keep something resembling the old behaviour
# where we had effectively unbounded concurrency
SKIPPER_CELERY_DATA_SERIES_BULK_ASYNC_CONCURRENCY_PER_DATA_SERIES = int(os.environ.get('SKIPPER_CELERY_DATA_SERIES_BULK_ASYNC_CONCURRENCY_PER_DATA_SERIES', '100'))
SKIPPER_CELERY_DATA_SERIES_BULK_ASYNC_CONCURRENCY_LOCK_TIMEOUT = int(os.environ.get('SKIPPER_CELERY_DATA_SERIES_BULK_ASYNC_CONCURRENCY_LOCK_TIMEOUT', '180'))
SKIPPER_CELERY_DATA_SERIES_BULK_ASYNC_CONCURRENCY_MAX_RETRY_DELAY= int(os.environ.get('SKIPPER_CELERY_DATA_SERIES_BULK_ASYNC_CONCURRENCY_MAX_RETRY_DELAY', '60'))

Expand Down

0 comments on commit 522f904

Please sign in to comment.