Skip to content

Commit

Permalink
remove obsolete retryable error codes (#3050)
Browse files Browse the repository at this point in the history
we don't have these error codes in the database anymore
  • Loading branch information
severo authored Aug 27, 2024
1 parent 2b867e9 commit f9b0d89
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions libs/libcommon/src/libcommon/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@
DEFAULT_MAX_FAILED_RUNS = 3
LARGE_MAX_FAILED_RUNS = 30 # for errors that should not be permanent
MAX_FAILED_RUNS_PER_ERROR_CODE = {
# 20240823 - temporary until all these deprecated errors disappear
"UnsupportedExternalFilesError": DEFAULT_MAX_FAILED_RUNS,
"ExternalFilesSizeRequestError": DEFAULT_MAX_FAILED_RUNS,
"ExternalFilesSizeRequestHTTPError": DEFAULT_MAX_FAILED_RUNS,
"ExternalFilesSizeRequestConnectionError": DEFAULT_MAX_FAILED_RUNS,
"ExternalFilesSizeRequestTimeoutError": DEFAULT_MAX_FAILED_RUNS,
"DatasetModuleNotInstalledError": DEFAULT_MAX_FAILED_RUNS,
"DatasetScriptError": DEFAULT_MAX_FAILED_RUNS,
# default
"RetryableConfigNamesError": DEFAULT_MAX_FAILED_RUNS,
"ConnectionError": DEFAULT_MAX_FAILED_RUNS,
Expand Down

0 comments on commit f9b0d89

Please sign in to comment.