Skip to content

Commit

Permalink
we dont really need to stop the scheduler...
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvigee committed Apr 17, 2024
1 parent fdb20bb commit fde5d29
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion bootstrapwatch/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ func Boot(ctx context.Context, root *hroot.State, bootopts bootstrap.BootOpts, c
log.Error("watcher close:", err)
}
close(sigCh)
pool.Stop()
},
}

Expand Down
4 changes: 0 additions & 4 deletions cmd/heph/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ func schedulerInit(ctx context.Context, postBoot func(bootstrap.BaseBootstrap) e
<-gb.Wait()
}
log.Tracef("All pool items finished")

bs.Scheduler.Pool.Stop()
}

if bs.Summary != nil {
Expand Down Expand Up @@ -104,8 +102,6 @@ func bootstrapInit(ctx context.Context) (bootstrap.Bootstrap, error) {

Finalizers.RegisterWithErr(func(err error) {
bs.Finalizers.Run(err)

bs.Pool.Stop()
})

return bs, nil
Expand Down

0 comments on commit fde5d29

Please sign in to comment.