Skip to content

Commit

Permalink
Increase TTL.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Oct 27, 2024
1 parent 2ed7b5d commit 430ecc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/dynamodb/offsets/offsets.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

// ShardExpirationAndBuffer - Buffer for when a shard is closed as the records have a TTL of 24h. However, garbage collection is async.
const ShardExpirationAndBuffer = 2 * 24 * time.Hour
const ShardExpirationAndBuffer = 3 * 24 * time.Hour

type OffsetStorage struct {
ttlMap *ttlmap.TTLMap
Expand Down

0 comments on commit 430ecc1

Please sign in to comment.