Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/debug/admin/shutdown is not graceful shutdown #3358

Open
larryclean opened this issue Mar 8, 2024 · 0 comments
Open

/debug/admin/shutdown is not graceful shutdown #3358

larryclean opened this issue Mar 8, 2024 · 0 comments
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.

Comments

@larryclean
Copy link
Contributor

larryclean commented Mar 8, 2024

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 larryclean added the bug It is confirmed a bug, but don't worry, we'll handle it. label Mar 8, 2024
@Issues-translate-bot Issues-translate-bot changed the title /debug/admin/shutdown 不是平滑重启 /debug/admin/shutdown is not a smooth restart Mar 8, 2024
@larryclean larryclean changed the title /debug/admin/shutdown is not a smooth restart /debug/admin/shutdown is not graceful shutdown Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.
Projects
None yet
Development

No branches or pull requests

1 participant