Previously, the goroutine would block for 24 hours and would only check every 24 hours if the server was closed. Since this never happened, the goroutine would just be abruptly killed when the main process ended (since nobody waited for this goroutine to end). Updating the code to exit when the server is closed immediately and switching the timer to a ticker instance that can be stopped. |
||
---|---|---|
.. | ||
influx | ||
influx_inspect | ||
influx_stress | ||
influx_tsm | ||
influxd |