Skip to content

Commit

Permalink
PR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonQ committed Jan 20, 2022
1 parent 1529bd7 commit 4da374c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ func newFleetGatewayWithScheduler(
stateStore stateStore,
) (gateway.FleetGateway, error) {

// Backoff implementation doesn't support the using of a context as the shutdown mechanism.
// Backoff implementation doesn't support the use of a context [cancellation]
// as the shutdown mechanism.
// So we keep a done channel that will be closed when the current context is shutdown.
done := make(chan struct{})

Expand Down

0 comments on commit 4da374c

Please sign in to comment.