mirror of
https://github.com/hequan2017/seal.git
synced 2026-05-04 19:22:29 +08:00
v0.4.2 优化k8s webssh 连接
This commit is contained in:
@@ -18,10 +18,8 @@ class K8SStreamThread(threading.Thread):
|
||||
self.stream = container_stream
|
||||
|
||||
def run(self):
|
||||
# while not self.ws.exit_status_ready():
|
||||
while self.stream.is_open():
|
||||
time.sleep(0.1)
|
||||
|
||||
if not self.stream.is_open():
|
||||
self.ws.close()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user