Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
pminervini
commited on
Commit
•
62ff4a3
1
Parent(s):
fd7beec
update
Browse files- backend-cli.py +4 -2
backend-cli.py
CHANGED
@@ -187,8 +187,10 @@ def process_pending_requests() -> bool:
|
|
187 |
|
188 |
|
189 |
if __name__ == "__main__":
|
190 |
-
import
|
191 |
-
|
|
|
|
|
192 |
|
193 |
# res = False
|
194 |
res = process_pending_requests()
|
|
|
187 |
|
188 |
|
189 |
if __name__ == "__main__":
|
190 |
+
import socket
|
191 |
+
if socket.gethostname() not in {'hamburg'}:
|
192 |
+
import time
|
193 |
+
time.sleep(60 * random.randint(5, 15))
|
194 |
|
195 |
# res = False
|
196 |
res = process_pending_requests()
|