mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
Clients are now kept forever
This commit is contained in:
parent
01936c979d
commit
4eaad8e5e9
@ -1 +1 @@
|
||||
Subproject commit 144e0557e515d5776e5287b9bdad731c2f25abfc
|
||||
Subproject commit 3a2bc02c1cd537069d83e9aafeaa506f82e01b1b
|
@ -225,7 +225,8 @@ class LOLLMSWebUI(LOLLMSElfServer):
|
||||
if self.session.get_client(sid).processing:
|
||||
self.session.get_client(sid).schedule_for_deletion=True
|
||||
else:
|
||||
self.session.remove_client(sid, sid)
|
||||
# Clients are now kept forever
|
||||
pass# self.session.remove_client(sid, sid)
|
||||
except Exception as ex:
|
||||
pass
|
||||
|
||||
@ -1343,8 +1344,9 @@ class LOLLMSWebUI(LOLLMSElfServer):
|
||||
self.close_message(client_id)
|
||||
|
||||
client.processing=False
|
||||
if client.schedule_for_deletion:
|
||||
self.session.remove_client(client.client_id, client.client_id)
|
||||
# Clients are now kept forever
|
||||
#if client.schedule_for_deletion:
|
||||
# self.session.remove_client(client.client_id, client.client_id)
|
||||
|
||||
ASCIIColors.success(f" ╔══════════════════════════════════════════════════╗ ")
|
||||
ASCIIColors.success(f" ║ Done ║ ")
|
||||
|
Loading…
Reference in New Issue
Block a user