forked from dapr/dapr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates dapr/kit and dapr/components-contrib to HEAD
Updates dapr/kit and dapr/components-contrib to HEAD. This primarily includes updating the fswatcher from the old `fswatcher.Watch` to the new `fs, err := fswatcher.New(fswatcher.Options)` & `fs.Run` pattern. `pkg/security` Provider now includes a `fswatcherInterval` option which is used as the trust bundle fswatcher interval duration. This is the interval to batch file events for the same file in fswatcher. This is always set to 500ms except for tests where it is set to 0 to speed up the test run. We want to keep this at 500ms as the live value to reduce CPU & IO usage on trust bundle file event churn which occurs on Kubernetes volumes or some text editors on "single" write events. https://ahmet.im/blog/kubernetes-inotify/ https://www.extrema.is/blog/2022/03/04/vim-and-inotify --- With these changes not in master, other developers wanting to make changes to dapr/dapr with an updated dapr/kit branch have to write these changes themself which is a pain & adds noise to PRs. I think moving forward, we should make an effort to ensure any updates to dapr/kit & dapr/components-contrib, particularly breaking changes, are updated in the dapr/dapr go.mod and merged into master as soon as possible. We can make the go.mod dapr/dapr PR a prereq like we do for docs PRs on new Dapr features. Signed-off-by: joshvanl <[email protected]>
- Loading branch information
1 parent
6df8f91
commit 1f616bc
Showing
5 changed files
with
33 additions
and
12 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