gf
gf copied to clipboard
/debug/admin/shutdown is not graceful shutdown
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?