Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps) bump resty.mlcache from 2.4.1 to 2.5.0
### Summary #### [2.5.0] > Released on: 2020/11/18 ##### Added - `get()` callback functions are now optional. Without a callback, `get()` now still performs on-cpu L1/L2 lookups (no yielding). This allows implementing new cache lookup patterns guaranteed to be on-cpu for a more constant, smoother latency tail end (e.g. values are refreshed in background timers with `set()`). Thanks Hamish Forbes and Corina Purcarea for proposing this feature and participating in its development! [#96](thibaultcha/lua-resty-mlcache#96) ##### Fixed - Improve `update()` robustness to worker crashes. Now, the library behind `cache:update()` is much more robust to re-spawned workers when initialized in the `init_by_lua` phase. [#97](thibaultcha/lua-resty-mlcache#97) - Document the `peek()` method `stale` argument which was not mentioned, as well as the possibility of negative TTL return values for expired items.
- Loading branch information