Skip to content

Commit

Permalink
[DDB] Increase shard TTL (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 authored Oct 28, 2024
1 parent 2ed7b5d commit b00b87c
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 b00b87c

Please sign in to comment.