Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
bad20e3
1
Parent(s):
c686855
- dispatcher.py +1 -1
dispatcher.py
CHANGED
|
@@ -417,7 +417,7 @@ class SessionManager:
|
|
| 417 |
# Give them 60 seconds from now
|
| 418 |
session.max_session_time = 60.0
|
| 419 |
session.session_limit_start_time = current_time # Track when limit started
|
| 420 |
-
|
| 421 |
session.session_warning_sent = False # Reset warning flag
|
| 422 |
affected_sessions += 1
|
| 423 |
|
|
|
|
| 417 |
# Give them 60 seconds from now
|
| 418 |
session.max_session_time = 60.0
|
| 419 |
session.session_limit_start_time = current_time # Track when limit started
|
| 420 |
+
# Don't reset last_activity - that would break idle timeout tracking
|
| 421 |
session.session_warning_sent = False # Reset warning flag
|
| 422 |
affected_sessions += 1
|
| 423 |
|