forked from cilium/cilium
-
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.
kvstore: Controllerize stale lock garbage collection
The garbage collection of stale locks has previously been run from an init() function in the kvstore package. To ensure it is only run when the kvstore is used, and to provide better visibility into when this GC runs, convert it into a controller in the daemon. Signed-off-by: Joe Stringer <joe@cilium.io>
- Loading branch information
1 parent
e4e83e8
commit 343ce9e
Showing
3 changed files
with
24 additions
and
8 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