Skip to content

Commit

Permalink
Task: Add timeout to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nspragg authored Jan 10, 2018
1 parent 68e9f2c commit d462f67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Both `maxage` and `staleIfError` accept an options object.
|Property|Description|
|----|-----------|
|`ignoreCacheErrors`| `cache.maxAge` will return a cache miss when this property is `true`. Setting this property true for `cache.staleIfError` will rethrow the original error (not the cache lookup error). `ignoreCacheErrors` is `false` by default. |
|`timeout`|Timeouts out a cache lookup after a specified number of ms|

## Cache Key Structure

Expand Down

0 comments on commit d462f67

Please sign in to comment.