diff --git a/src/app.py b/src/app.py index 5874d5d..44d35bc 100644 --- a/src/app.py +++ b/src/app.py @@ -24,7 +24,7 @@ def result(): def safe(): app.logger.info('Initializing safe reboot process') - # Try to ping the router 100 times + # Try to ping the router 50 times for i in range(50): if call(['ping', '-c', '1', url], stdout=DEVNULL, stderr=STDOUT) == 0: app.logger.info('Router is online')