Skip to content
Snippets Groups Projects
Commit 7a1b248f authored by Fahrudin Halilovic's avatar Fahrudin Halilovic
Browse files

fix: adjust retry settings and remove InsecureRequestWarning suppression

parent 12188b92
No related branches found
No related tags found
1 merge request!9INFRA-10659: Implement self-healing mechanism for Netbox jobs
Pipeline #202723 passed
This commit is part of merge request !9. Comments created here will be created in the context of that merge request.
......@@ -20,11 +20,9 @@ import urllib3
# Set up logging
logger = logging.getLogger(__name__)
# Suppress only the single InsecureRequestWarning from urllib3
urllib3.disable_warnings(InsecureRequestWarning)
# Configuration for retry mechanism
MAX_RETRIES = 5
MAX_RETRIES = 18
INITIAL_DELAY = 1
BACKOFF_FACTOR = 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment