Spaces:
Running
Running
ai: Wait for the server to cool down for 1 hour.
Browse files
jarvis.py
CHANGED
@@ -77,7 +77,7 @@ def marked_item(item, marked, attempts):
|
|
77 |
marked.discard(item)
|
78 |
if item in attempts:
|
79 |
del attempts[item]
|
80 |
-
threading.Timer(
|
81 |
|
82 |
class SessionWithID(requests.Session):
|
83 |
def __init__(self):
|
|
|
77 |
marked.discard(item)
|
78 |
if item in attempts:
|
79 |
del attempts[item]
|
80 |
+
threading.Timer(3600, remove_fail).start()
|
81 |
|
82 |
class SessionWithID(requests.Session):
|
83 |
def __init__(self):
|