-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
*: Change the engine behind
ContentPathReloader
to be completely in…
…dependent of any filesystem concept. (#6503) * Add fallback config reload for symlinks Signed-off-by: Douglas Camata <[email protected]> * Improve pooling config reload Signed-off-by: Douglas Camata <[email protected]> * Make tests more reliable Signed-off-by: Douglas Camata <[email protected]> * Improve tests again Assert on runutil.Repeat output Signed-off-by: Douglas Camata <[email protected]> * Pass the debounce/reload time to each test Signed-off-by: Douglas Camata <[email protected]> * Add comments and ensure interfaces are implemented Signed-off-by: Douglas Camata <[email protected]> * Make the limit configuration reload time customizable Signed-off-by: Douglas Camata <[email protected]> * goimports file Signed-off-by: Douglas Camata <[email protected]> * Fix lint warning Signed-off-by: Douglas Camata <[email protected]> * Improve log for polling engine Signed-off-by: Douglas Camata <[email protected]> * Fix tests Signed-off-by: Douglas Camata <[email protected]> * Make linter happy Signed-off-by: Douglas Camata <[email protected]> * Extract symlink identification to a separate function Signed-off-by: Douglas Camata <[email protected]> * Update changelog Signed-off-by: Douglas Camata <[email protected]> * Fix links to go-grpc-middleware after v2 merge into main Signed-off-by: Douglas Camata <[email protected]> * Add period to make linter happy. Signed-off-by: Douglas Camata <[email protected]> * Update changelog entry Signed-off-by: Douglas Camata <[email protected]> * Replace the fsnotify based engine from `PathContentReloader` with the polling one Signed-off-by: Douglas Camata <[email protected]> * Rerun CI Signed-off-by: Douglas Camata <[email protected]> * Rerun CI Signed-off-by: Douglas Camata <[email protected]> * Remove check for empty filePath Signed-off-by: Douglas Camata <[email protected]> * Unexpose pollingEngine.Start Signed-off-by: Douglas Camata <[email protected]> * Fix pollingEngine doc-comment Signed-off-by: Douglas Camata <[email protected]> * Log file path when config is reloaded Signed-off-by: Douglas Camata <[email protected]> --------- Signed-off-by: Douglas Camata <[email protected]>
- Loading branch information
1 parent
ca308b0
commit b46b835
Showing
8 changed files
with
97 additions
and
100 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
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
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
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
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
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
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
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