Skip to content

Commit

Permalink
initialize ttl datastruct
Browse files Browse the repository at this point in the history
  • Loading branch information
dshiell committed Sep 6, 2024
1 parent f5ea0ee commit 03a6daa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func NewRedisConnector(

connector := &RedisConnector{
logger: logger,
ttls: make(map[string]time.Duration),
}

// Attempt the actual connecting in background to avoid blocking the main thread.
Expand Down

0 comments on commit 03a6daa

Please sign in to comment.