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

Smooth restart does not take effect #2752

Closed
xyqweb opened this issue Jul 8, 2023 · 0 comments
Closed

Smooth restart does not take effect #2752

xyqweb opened this issue Jul 8, 2023 · 0 comments

Comments

@xyqweb
Copy link
Contributor

xyqweb commented Jul 8, 2023

1. What version of Go and system type/arch are you using?

go1.20.5 linux/amd64

2. What version of GoFrame are you using?

GoFrame v2.4.4

3. Can this issue be re-produced with the latest release?

yes

4. What did you do?

config.yaml

server:
  address:     ":8080"
  dumpRouterMap:       false
  accessLogEnabled:    true
  errorLogEnabled:    true
  accessLogPattern:    "access.log"
  errorLogPattern:    "error.log"
  openapiPath:         "/api.json"
  swaggerPath:         "/swagger"
  graceful: true
  gracefulTimeout: 10
  gracefulShutdownTimeout: 10
g.Wait()//not support os signal

5. What did you expect to see?

try GoFrame version : 2.4.4 and 2.3.3

kill -SIGUSR1 PID

6. What did you see instead?

GoFrame 2.4.4 No response and no overload

GoFrame 2.3.3 response:
2023-07-08 11:53:54.741 11285: server gracefully shutting down by api
2023-07-08 11:53:54.744 [INFO] pid[11285]: all servers shutdown

@gqcn

@xyqweb xyqweb closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2023
@xyqweb xyqweb reopened this Jul 14, 2023
gqcn pushed a commit that referenced this issue Jul 19, 2023
@xyqweb xyqweb closed this as completed Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant