test pause
Browse files
app.py
CHANGED
|
@@ -217,7 +217,7 @@ def task_processor():
|
|
| 217 |
processor_thread = threading.Thread(target=task_processor, daemon=True)
|
| 218 |
processor_thread.start()
|
| 219 |
|
| 220 |
-
|
| 221 |
def verify_student_id(student_id):
|
| 222 |
"""Verify student ID and check quota"""
|
| 223 |
global queue_counter
|
|
@@ -246,7 +246,7 @@ def verify_student_id(student_id):
|
|
| 246 |
approved=False,
|
| 247 |
comments="",
|
| 248 |
),
|
| 249 |
-
timeout=
|
| 250 |
)
|
| 251 |
|
| 252 |
if not user_input.approved:
|
|
|
|
| 217 |
processor_thread = threading.Thread(target=task_processor, daemon=True)
|
| 218 |
processor_thread.start()
|
| 219 |
|
| 220 |
+
|
| 221 |
def verify_student_id(student_id):
|
| 222 |
"""Verify student ID and check quota"""
|
| 223 |
global queue_counter
|
|
|
|
| 246 |
approved=False,
|
| 247 |
comments="",
|
| 248 |
),
|
| 249 |
+
timeout=300, # 10 minutes
|
| 250 |
)
|
| 251 |
|
| 252 |
if not user_input.approved:
|