About Smooth reload. #302
Murasame233
started this conversation in
General
Replies: 2 comments
-
And there's a problem, the old runtime still can access by client when its not shutdown. I make a middleware to reject the request. |
Beta Was this translation helpful? Give feedback.
0 replies
-
it is not possible to reload ips and ports at runtime without reloading runtime |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's my scenario:
How can I do it?
I tries so many ways to do it. If you use stop runtime or abort the handle manually, the connected connection will brake too.
So I tries set timeout for a connection, and when we need reload the config, we start a new runtime, and old runtime will be stop after elapsed the
timeout
value from now.Is there any better solution?
Beta Was this translation helpful? Give feedback.
All reactions