mirror of
https://github.com/tencentmusic/cube-studio.git
synced 2024-11-21 01:16:33 +08:00
Merge branch 'master' of https://github.com/tencentmusic/cube-studio
This commit is contained in:
commit
0d4dae903a
@ -26,7 +26,7 @@ def check_docker_commit(task,docker_id): # 在页面中测试时会自定接收
|
||||
begin_time=datetime.datetime.now()
|
||||
now_time=datetime.datetime.now()
|
||||
while((now_time-begin_time).seconds<1800): # 也就是最多commit push 30分钟
|
||||
time.sleep(12000)
|
||||
time.sleep(60)
|
||||
commit_pods = k8s_client.get_pods(namespace=namespace,pod_name=pod_name)
|
||||
if commit_pods:
|
||||
commit_pod=commit_pods[0]
|
||||
|
Loading…
Reference in New Issue
Block a user