소스 검색

change default kill time

非法操作 6 달 전
부모
커밋
b1824d1b67
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      internal/core/plugin_manager/local_runtime/environment_python.go

+ 1 - 1
internal/core/plugin_manager/local_runtime/environment_python.go

@@ -161,7 +161,7 @@ func (p *LocalPluginRuntime) InitPythonEnvironment() error {
 				break
 			}
 
-			if time.Since(lastActiveAt) > 60*time.Second {
+			if time.Since(lastActiveAt) > 180*time.Second {
 				cmd.Process.Kill()
 				err_msg.WriteString("init process exited due to long time no activity")
 				break