fix negative waitgroup, fix cert expiry date, better auto renewal strategy

This commit is contained in:
yusing
2024-03-23 20:06:34 +00:00
parent fff790b527
commit 539ef911de
5 changed files with 131 additions and 64 deletions

View File

@@ -127,12 +127,12 @@ func InitFSWatcher() {
func InitDockerWatcher() {
// stop all docker client on watcher stop
go func() {
defer dockerWatcherWg.Done()
<-dockerWatcherStop
ParallelForEachValue(
dockerWatchMap.Iterator(),
(*dockerWatcher).Dispose,
)
dockerWatcherWg.Done()
}()
}