Skip to content

Commit

Permalink
log missing session
Browse files Browse the repository at this point in the history
  • Loading branch information
noskill committed Oct 24, 2024
1 parent f3399ac commit d58754f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions multigen/worker_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def close_session(self, session_id):
def queue_gen(self, **args):
self.logger.info("REQUESTED FOR QUEUE: " + str(args))
with self._lock:
if args["session_id"] not in self.sessions:
self.logger.debug(str(args["session_id"]) + ' is not found in open sessions')
a = {**args}
a["count"] = int(a["count"])
if a["count"] <= 0:
Expand Down

0 comments on commit d58754f

Please sign in to comment.