Increase reconnect timeout to work around spigot connection throttling

feature/embed-uploads
Tristan Gosselin-Hane 7 years ago
parent c2b32f1363
commit e662228a4b
  1. 2
      webhook-bridge.py

@ -142,7 +142,7 @@ def main():
def handle_disconnect():
logging.info('Disconnected.')
connection.disconnect(immediate=True)
time.sleep(5)
time.sleep(15)
while not is_server_online():
logging.info('Not reconnecting to server because it appears to be offline.')
time.sleep(5)

Loading…
Cancel
Save