log restart
This commit is contained in:
@@ -66,7 +66,7 @@ def desktop(user_uuid, course_id, chapter_name, lesson_name):
|
|||||||
|
|
||||||
|
|
||||||
chatmanager = ChatManager(restart=not load_history)
|
chatmanager = ChatManager(restart=not load_history)
|
||||||
print(f"now user uuid {user_uuid}")
|
print(f"now user uuid {user_uuid}, start with restart={not load_history}")
|
||||||
current_app.extensions["user_uuid2chatmanager"][user_uuid] = chatmanager
|
current_app.extensions["user_uuid2chatmanager"][user_uuid] = chatmanager
|
||||||
code_server_port = 10000 + int(uuid.uuid4().int % 10000)
|
code_server_port = 10000 + int(uuid.uuid4().int % 10000)
|
||||||
# chatmanager.start_code_server(user_uuid, user_id, path_dir, code_server_port)
|
# chatmanager.start_code_server(user_uuid, user_id, path_dir, code_server_port)
|
||||||
|
|||||||
Reference in New Issue
Block a user