Skip to content

Commit

Permalink
proxy: decr optimistic ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Mar 9, 2022
1 parent f7defbe commit 2b0a13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (ci *cacheItem) pack() (packed []byte) {
}

// optimisticTTL is the default TTL for expired cached responses in seconds.
const optimisticTTL = 60
const optimisticTTL = 10

// unpackItem converts the data into cacheItem using req as a request message.
// expired is true if the item exists but expired. The expired cached items are
Expand Down

0 comments on commit 2b0a13c

Please sign in to comment.