dfuse-eosio icon indicating copy to clipboard operation
dfuse-eosio copied to clipboard

FluxDB: Should implement the graceful shutdown pattern

Open jubeless opened this issue 4 years ago • 1 comments

FluxDB server at the moment simply waits 5 seconds on shutdown before close the HTTP server. It should implement a GracefulShutdown with the derr library to allow a delay before actually shutting down

jubeless avatar Apr 21 '20 14:04 jubeless

Actually fluxdb needs to move out of using derr.IsShuttingDown and instead rely on the shutter.Shutter terminating to make its decision.

maoueh avatar Apr 21 '20 16:04 maoueh