wait 10 seconds before restarting
This commit is contained in:
parent
52ca77e67c
commit
35dd1b9e91
1 changed files with 2 additions and 0 deletions
|
@ -280,6 +280,8 @@ try:
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger_api.error('Client login error')
|
logger_api.error('Client login error')
|
||||||
logger_api.error(err)
|
logger_api.error(err)
|
||||||
|
time.sleep(10)
|
||||||
|
logger.api.error('Restarting...')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Schedule sync jobs
|
# Schedule sync jobs
|
||||||
|
|
Loading…
Reference in a new issue