Skip to content

Commit

Permalink
uncomment go routine
Browse files Browse the repository at this point in the history
  • Loading branch information
balpert89 committed Nov 19, 2024
1 parent 8cffc69 commit 7c8e465
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions broker/bucketbroker/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ func New(ctx context.Context, cfg *rest.Config, opts Options) (*Server, error) {
}

log.Info("start cache")
// go func() {
if err := readCache.Start(ctx); err != nil {
log.Info("error starting cache")
fmt.Printf("Error starting cache: %v\n", err)
}
log.Info("started cache")
// }()
go func() {
if err := readCache.Start(ctx); err != nil {
log.Info("error starting cache")
fmt.Printf("Error starting cache: %v\n", err)
}
log.Info("started cache")
}()

log.Info("syncing cache")
if !readCache.WaitForCacheSync(ctx) {
Expand Down

0 comments on commit 7c8e465

Please sign in to comment.