Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion readthedocs/core/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ def prepare_build(
# At 1h exactly, the task is grabbed by another worker and re-executed,
# even while it's still running on the original worker.
# https://github.com/readthedocs/readthedocs.org/issues/12317
if project.has_feature(Feature.BUILD_NO_ACKS_LATE):
if (
project.has_feature(Feature.BUILD_NO_ACKS_LATE)
or project.container_time_limit
and project.container_time_limit >= settings.BUILD_TIME_LIMIT
):
log.info("Disabling ACKS_LATE for this particular build.")
options["acks_late"] = False

Expand Down