Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix: disable WaitForCacheSync
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Yang <reaver@flomesh.io>
  • Loading branch information
reaver-flomesh committed May 15, 2023
1 parent f093e57 commit 3e24294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/manager/handler/eventhandlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ func RegisterEventHandlers(ctx *fctx.FsmContext) error {
}
}

if !ctx.Manager.GetCache().WaitForCacheSync(context.TODO()) {
return fmt.Errorf("informer cache failed to sync")
}
//if !ctx.Manager.GetCache().WaitForCacheSync(context.TODO()) {
// return fmt.Errorf("informer cache failed to sync")
//}
}

return nil
Expand Down

0 comments on commit 3e24294

Please sign in to comment.