Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
remove cleanup to try results
Browse files
backend/routes/cleanup.py
CHANGED
@@ -26,7 +26,8 @@ async def cleanup_session(session_id: str):
|
|
26 |
Dictionary with status and message
|
27 |
"""
|
28 |
# Check if we are in development mode
|
29 |
-
if os.environ.get("ENVIRONEMENT", "").lower() == "development":
|
|
|
30 |
logging.info(f"[DEV MODE] Cleanup called for session: {session_id} - No action taken in development mode")
|
31 |
return {
|
32 |
"success": True,
|
|
|
26 |
Dictionary with status and message
|
27 |
"""
|
28 |
# Check if we are in development mode
|
29 |
+
# if os.environ.get("ENVIRONEMENT", "").lower() == "development":
|
30 |
+
if False:
|
31 |
logging.info(f"[DEV MODE] Cleanup called for session: {session_id} - No action taken in development mode")
|
32 |
return {
|
33 |
"success": True,
|