Skip to content

Commit 5962485

Browse files
committed
Partial revert of #12369 for celery visibility timeout
1 parent ff68393 commit 5962485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ def BUILD_MEMORY_LIMIT(self):
640640
# https://github.com/readthedocs/readthedocs.org/issues/12317#issuecomment-3070950434
641641
# https://docs.celeryq.dev/en/stable/getting-started/backends-and-brokers/redis.html#visibility-timeout
642642
BROKER_TRANSPORT_OPTIONS = {
643-
'visibility_timeout': BUILD_TIME_LIMIT * 1.15, # 15% more than the build time limit
643+
'visibility_timeout': 18000, # 5 hours
644644
}
645645

646646
CELERY_DEFAULT_QUEUE = "celery"

0 commit comments

Comments
 (0)