Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Akegarasu/ChatGLM-webui
/ wait_on_server
Function
wait_on_server
webui.py:31–39 ·
view source on GitHub ↗
(ui=None)
Source
from the content-addressed store, hash-verified
29
30
31
def
wait_on_server(ui=None):
32
while
1:
33
time.sleep(1)
34
if
options.need_restart:
35
options.need_restart = False
36
time.sleep(0.5)
37
ui.close()
38
time.sleep(0.5)
39
break
40
41
42
def
main():
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected