increase timeout between messages to one hour ten seconds

This commit is contained in:
randomuser 2021-05-24 23:19:06 -05:00
parent 29b5cf9f07
commit abd1f13b5d
1 changed files with 3 additions and 1 deletions

4
main.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/bin/python3
import requests import requests
import json import json
import time import time
@ -26,7 +28,7 @@ def main():
mastogame = mastosnake(game) mastogame = mastosnake(game)
continue continue
time.sleep(120) time.sleep(3600)
poll_id = json.loads(r.text)['poll']['id'] poll_id = json.loads(r.text)['poll']['id']
r = requests.get("https://" + host + getend + poll_id) r = requests.get("https://" + host + getend + poll_id)