Increase max_retries for builds reached concurrency limit
@@ -527,7 +527,12 @@ class UpdateDocsTaskStep(SyncRepositoryMixin, CachedEnvironmentMixin):
limit=settings.RTD_MAX_CONCURRENT_BUILDS,
),
})
- self.task.retry(exc=BuildMaxConcurrencyError, throw=False)
+ self.task.retry(
+ exc=BuildMaxConcurrencyError,
+ throw=False,
+ # We want to retry this build more times
+ max_retries=25,
+ )
return False
# Build process starts here
