Skip to content

Commit aa3aead

Browse files
committed
Lower frequency of statsd interval to reduce database load
1 parent 5aa4f93 commit aa3aead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

treeherder/config/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
CELERY_TASK_TIME_LIMIT = CELERY_TASK_SOFT_TIME_LIMIT + 30
370370

371371
# Periodically publish runtime statistics on statsd (in minutes)
372-
CELERY_STATS_PUBLICATION_DELAY = 5
372+
CELERY_STATS_PUBLICATION_DELAY = 20
373373
assert 0 < CELERY_STATS_PUBLICATION_DELAY < 60 and 60 % 10 == 0, (
374374
"Celery task must be a valid cron delay in minutes"
375375
)

0 commit comments

Comments
 (0)