Files
traefik-llmgateway/cmd/gateway
lukaszraczylo 60029a047e fix(cmd): retry a rejected reload and tighten the drain lifecycle
Review findings on the standalone config reload:

- A rejected config is now retried on every check, because the cause can
  be outside the file, such as a secret file that is not mounted yet.
  Each distinct error is logged once. A read error and a build error are
  tracked apart, so one does not hide the other.
- A closed generation stops its drain timer, so the timer no longer
  holds the old gateway in memory until it fires.
- closeCurrent marks the generation retired before it closes, so a late
  request does not run on a closed gateway.
- -reload-drain-timeout must be positive. A zero value closed running
  requests at once.
- The listen-error path waits for the reloader before the close, the
  same as the signal path. The reloader does not build after ctx ends.
2026-11-26 16:30:20 +00:00
..