Skip to content

Commit

Permalink
Cause cached entries to actually expire.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Jones committed Aug 29, 2024
1 parent e6024db commit b8f9926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ func (c *client) mainloop(ctx context.Context, params *lookupParams) {
continue
}
if _, ok := sentEntries[k]; ok {
sentEntries[k].Expiry = e.Expiry
continue
}

Expand Down

0 comments on commit b8f9926

Please sign in to comment.