chengzeyi commited on
Commit
1d16c2b
·
1 Parent(s): 6380d03
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -267,6 +267,8 @@ class ClientGenerationManager:
267
 
268
  def __init__(self):
269
  self.lock = threading.Lock()
 
 
270
 
271
  def update_activity(self):
272
  with self.lock:
 
267
 
268
  def __init__(self):
269
  self.lock = threading.Lock()
270
+ self.last_activity = time.time()
271
+ self.request_timestamps = [] # Track timestamps of requests
272
 
273
  def update_activity(self):
274
  with self.lock: