-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nats-server-config-reloader for k8s secrets
Fixes #130 To fix this issue, the commit ensures that when a file is deleted, the Inotify watches immediately unregister it and then attempt to periodically re-register the file every second until the operation succeeds. This guarantees that the file will continue to be monitored reliably even after deletion.
- Loading branch information
Showing
2 changed files
with
195 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.