Update main.py
Browse files
main.py
CHANGED
|
@@ -16,7 +16,7 @@ logging.basicConfig(
|
|
| 16 |
)
|
| 17 |
|
| 18 |
TARGET_URL = os.getenv("TARGET_URL", "https://api.gmi-serving.com")
|
| 19 |
-
MAX_RETRIES = int(os.getenv("MAX_RETRIES", "
|
| 20 |
DEFAULT_RETRY_CODES = "429,500,502,503,504"
|
| 21 |
RETRY_CODES_STR = os.getenv("RETRY_CODES", DEFAULT_RETRY_CODES)
|
| 22 |
try:
|
|
|
|
| 16 |
)
|
| 17 |
|
| 18 |
TARGET_URL = os.getenv("TARGET_URL", "https://api.gmi-serving.com")
|
| 19 |
+
MAX_RETRIES = int(os.getenv("MAX_RETRIES", "15"))
|
| 20 |
DEFAULT_RETRY_CODES = "429,500,502,503,504"
|
| 21 |
RETRY_CODES_STR = os.getenv("RETRY_CODES", DEFAULT_RETRY_CODES)
|
| 22 |
try:
|