Skip to content

Commit

Permalink
distmem: update default ttl based on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight committed Jul 11, 2024
1 parent 7fed7b1 commit 4472aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distmem.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ func newDistMem(name string, op *Op, opts ...*DistMemOptions) *DistMem {
}

if dm.age == 0 {
dm.age = time.Hour * 2
dm.age = time.Hour * 1
}

dm.start = time.Now()
Expand Down

0 comments on commit 4472aeb

Please sign in to comment.