Skip to content

Commit

Permalink
Add back pointer
Browse files Browse the repository at this point in the history
Oops!
  • Loading branch information
stefanvanburen committed Nov 1, 2024
1 parent 42d29e3 commit 2515c42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions private/pkg/storage/limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type limitedWriteBucket struct {
func newLimitedWriteBucket(bucket WriteBucket, limit int64) *limitedWriteBucket {
return &limitedWriteBucket{
WriteBucket: bucket,
currentSize: &atomic.Int64{},
limit: limit,
}
}
Expand Down

0 comments on commit 2515c42

Please sign in to comment.