Merge pull request #18354 from edx/EDUCATOR-3004/add-10s-delay

Add 10 seconds delay to avoid exception
This commit is contained in:
Awais Jibran
2018-06-14 12:55:55 +05:00
committed by GitHub

View File

@@ -41,7 +41,7 @@ KNOWN_RETRY_ERRORS = ( # Errors we expect occasionally, should be resolved on r
DatabaseNotReadyError,
)
RECALCULATE_GRADE_DELAY_SECONDS = 2 # to prevent excessive _has_db_updated failures. See TNL-6424.
RETRY_DELAY_SECONDS = 30
RETRY_DELAY_SECONDS = 40
SUBSECTION_GRADE_TIMEOUT_SECONDS = 300