Skip to content

Commit

Permalink
Update distributed_gobreaker.go
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshiyukiMineo authored Dec 28, 2024
1 parent bbede87 commit ea5e362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v2/distributed_gobreaker.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func (dcb *DistributedCircuitBreaker[T]) beforeRequest(ctx context.Context) (uin
if err != nil {
return 0, err
}

now := time.Now()
currentState, generation := dcb.currentState(state, now)

Expand Down

0 comments on commit ea5e362

Please sign in to comment.