Skip to content

Commit bb3333d

Browse files
authored
Merge pull request #8921 from readthedocs/humitos/code-comment
Comment: add comment from PR review
2 parents 58c82ed + 8acba21 commit bb3333d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readthedocs/core/utils/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ def prepare_build(
186186
project_slug=project.slug,
187187
version_slug=version.slug,
188188
)
189+
# Delay the start of the build for the build retry delay.
190+
# We're still triggering the task, but it won't run immediately,
191+
# and the user will be alerted in the UI from the Error below.
189192
options['countdown'] = settings.RTD_BUILDS_RETRY_DELAY
190193
options['max_retries'] = settings.RTD_BUILDS_MAX_RETRIES
191194
build.error = BuildMaxConcurrencyError.message.format(

0 commit comments

Comments
 (0)