Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -328,7 +328,7 @@ def background_loop():
|
|
| 328 |
print("✅ Scan Complete. Sleeping...")
|
| 329 |
except Exception as e:
|
| 330 |
print(f"❌ Background Error: {e}")
|
| 331 |
-
time.sleep(
|
| 332 |
|
| 333 |
# Start Background Thread
|
| 334 |
t = threading.Thread(target=background_loop, daemon=True)
|
|
|
|
| 328 |
print("✅ Scan Complete. Sleeping...")
|
| 329 |
except Exception as e:
|
| 330 |
print(f"❌ Background Error: {e}")
|
| 331 |
+
time.sleep(900) # Run every 15 minutes (900 seconds)
|
| 332 |
|
| 333 |
# Start Background Thread
|
| 334 |
t = threading.Thread(target=background_loop, daemon=True)
|