Update the initial try delay to reduce the occurance of this DatabaseNotReadyError due to replica lag.

EDUCATOR-3004
This commit is contained in:
Awais Jibran
2018-06-11 23:25:47 +05:00
parent 6600e8b7e6
commit e274308396

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