feat: add restart and fix unzip (#538)

* add restart function

* update

* fix ci

* update code

* fix restart

---------

Co-authored-by: yuanteli <1957922024@qq.com>
Co-authored-by: Xu Yang <xuyang1@microsoft.com>
This commit is contained in:
Xu Yang
2025-01-24 13:34:47 +08:00
committed by GitHub
parent 993f16a089
commit cb5127735f
4 changed files with 29 additions and 5 deletions
+1 -1
View File
@@ -464,7 +464,7 @@ class DockerEnv(Env[DockerConf]):
if self.conf.enable_cache:
out = self.cached_run(entry_add_timeout, local_path, env, running_extra_volume)
else:
out = self.__run(entry, local_path, env, running_extra_volume, remove_timestamp=False)
out = self.__run(entry_add_timeout, local_path, env, running_extra_volume, remove_timestamp=False)
end = time.time()
if end - start + 1 >= self.conf.running_timeout_period: