gf icon indicating copy to clipboard operation
gf copied to clipboard

/debug/admin/shutdown is not graceful shutdown

Open larryclean opened this issue 11 months ago • 0 comments

group.GET("/hello", func(r *ghttp.Request) { r.Response.Write("1") time.Sleep(10 * time.Second) r.Response.Write("ohell") })

What version of Go and system type/arch are you using? go version go1.22.0 darwin/arm64

What version of GoFrame are you using? github.com/gogf/gf/v2 v2.6.4

Can this bug be re-produced with the latest release?

What did you do?

What did you expect to see? 不知道为啥shutdown无法平滑关闭服务。导致业务数据丢失

What did you see instead?

larryclean avatar Mar 08 '24 12:03 larryclean