mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Start the lame duck mode in a go routine in the signal handler because I think we want to be able to shutdown the server while in that mode. Kept the closing as a loop in the lameDuckMode() function (did not use a timer). Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
22 KiB
22 KiB