- Add Shutdown() method to RouteWatch with mutex-protected shutdown flag - Move all cleanup logic from Run() to Shutdown() - Call Shutdown() from fx OnStop hook - This ensures snapshotter gets called during graceful shutdown |
||
|---|---|---|
| .. | ||
| database | ||
| metrics | ||
| ristypes | ||
| routewatch | ||
| routingtable | ||
| server | ||
| snapshotter | ||
| streamer | ||
| templates | ||