increase timeout between messages to one hour ten seconds
This commit is contained in:
parent
29b5cf9f07
commit
abd1f13b5d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue