mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-12-06 11:03:52 +00:00
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.