This commit is contained in:
@@ -141,7 +141,7 @@ class PuppeteerHealthcheck:
|
|||||||
logger.info("Starting Puppeteer API healthcheck service")
|
logger.info("Starting Puppeteer API healthcheck service")
|
||||||
|
|
||||||
consecutive_failures = 0
|
consecutive_failures = 0
|
||||||
max_consecutive_failures = 3 # Restart after 3 consecutive failures
|
max_consecutive_failures = 1 # Restart after 3 consecutive failures
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user