- Add shutdownCh channel to signal goroutines to stop - Check IsShuttingDown() in all main loops - Wait 2 seconds for goroutines to finish before closing DB Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 KiB
20 KiB