Spaces:
Sleeping
Sleeping
Bahawal Ali commited on
Update main.py
Browse files
main.py
CHANGED
|
@@ -191,12 +191,12 @@ def quiz_worker_loop():
|
|
| 191 |
|
| 192 |
if os.path.exists(pdf_name): os.remove(pdf_name)
|
| 193 |
|
| 194 |
-
print("💤 Quiz-Bot Sleeping for
|
| 195 |
-
time.sleep(
|
| 196 |
|
| 197 |
except Exception as e:
|
| 198 |
print(f"⚠️ Quiz Worker Error: {e}", flush=True)
|
| 199 |
-
time.sleep(
|
| 200 |
|
| 201 |
threading.Thread(target=quiz_worker_loop, daemon=True).start()
|
| 202 |
|
|
|
|
| 191 |
|
| 192 |
if os.path.exists(pdf_name): os.remove(pdf_name)
|
| 193 |
|
| 194 |
+
print("💤 Quiz-Bot Sleeping for 3 Min...", flush=True)
|
| 195 |
+
time.sleep(180)
|
| 196 |
|
| 197 |
except Exception as e:
|
| 198 |
print(f"⚠️ Quiz Worker Error: {e}", flush=True)
|
| 199 |
+
time.sleep(180)
|
| 200 |
|
| 201 |
threading.Thread(target=quiz_worker_loop, daemon=True).start()
|
| 202 |
|