fix(ops): HTTP 超时、env status 只读;test/dev 镜像重建 schema 25

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
weichen
2026-09-13 02:50:23 +00:00
co-authored by Cursor
parent 3d09bd6d7d
commit 0547bd58a8
2 changed files with 7 additions and 1 deletions
+3
View File
@@ -342,6 +342,9 @@ func (s *Server) Start() error {
Addr: addr,
Handler: s.Routes(),
ReadHeaderTimeout: 10 * time.Second,
ReadTimeout: 60 * time.Second,
WriteTimeout: 120 * time.Second,
IdleTimeout: 120 * time.Second,
}
return s.httpServer.ListenAndServe()
+4 -1
View File
@@ -85,7 +85,10 @@ run_compose() {
exit 1
fi
prepare_env_file "${target}"
# status/ps 为只读查询,不隐式创建配置或数据目录
if [[ "${act}" != "status" && "${act}" != "ps" ]]; then
prepare_env_file "${target}"
fi
local env_arg=""
if [[ -f "${env_file}" ]]; then