Skip to content

Commit

Permalink
Made suggested change.
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <[email protected]>
  • Loading branch information
cody-littley committed Nov 25, 2024
1 parent 9969859 commit 46b02e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay/cache/cached_accessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func newAccessResult[V any]() *accessResult[V] {
result := &accessResult[V]{
sem: semaphore.NewWeighted(1),
}
result.sem.TryAcquire(1)
_ = result.sem.Acquire(context.Background(), 1)
return result
}

Expand Down

0 comments on commit 46b02e2

Please sign in to comment.