Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 909dd05

Browse files
committed
Merge branch 'dk/enable-prebuilds' of github.com:/coder/coder into dk/enable-prebuilds
2 parents 3143392 + d8f0933 commit 909dd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/coderd.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ func (api *API) Close() error {
16631663
_ = api.UpdatesProvider.Close()
16641664

16651665
if current := api.PrebuildsReconciler.Load(); current != nil {
1666-
ctx, giveUp := context.WithTimeoutCause(context.Background(), time.Second*30, xerrors.New("gave up waiting for reconciler to stop"))
1666+
ctx, giveUp := context.WithTimeoutCause(context.Background(), time.Second*30, xerrors.New("gave up waiting for reconciler to stop before shutdown"))
16671667
defer giveUp()
16681668
(*current).Stop(ctx, nil)
16691669
}

0 commit comments

Comments
 (0)