Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps) bump lua-resty-mlcache to 2.3.0 #4216

Merged
merged 1 commit into from
Jan 18, 2019
Merged

Conversation

thibaultcha
Copy link
Member

Changes:

  • Returning a negative ttl value from the L3 callback will now make the
    fetched data bypass the cache (it will still be returned by get()). This
    is useful when some fetched data indicates that it is not cacheable.
  • When get() returns a value from L2 (shm) during its last millisecond
    of freshness, we do not erroneously cache the value in L1 (LRU)
    indefinitely anymore.
  • When get() returns a previously resurrected value from L2 (shm), we
    now correctly set the hit_lvl return value to 4, instead of 2.

Full Changelog:

https://github.com/thibaultcha/lua-resty-mlcache/blob/master/CHANGELOG.md

Changes:

* Returning a negative ttl value from the L3 callback will now make the
  fetched data bypass the cache (it will still be returned by get()). This
  is useful when some fetched data indicates that it is not cacheable.
* When get() returns a value from L2 (shm) during its last millisecond
  of freshness, we do not erroneously cache the value in L1 (LRU)
  indefinitely anymore.
* When get() returns a previously resurrected value from L2 (shm), we
  now correctly set the hit_lvl return value to 4, instead of 2.

Full Changelog:

https://github.com/thibaultcha/lua-resty-mlcache/blob/master/CHANGELOG.md
@thibaultcha thibaultcha merged commit 5978d07 into master Jan 18, 2019
@thibaultcha thibaultcha deleted the chore/bump-mlcache branch January 18, 2019 02:03
thibaultcha added a commit that referenced this pull request Jan 18, 2019
Changes:

* Returning a negative ttl value from the L3 callback will now make the
  fetched data bypass the cache (it will still be returned by get()). This
  is useful when some fetched data indicates that it is not cacheable.
* When get() returns a value from L2 (shm) during its last millisecond
  of freshness, we do not erroneously cache the value in L1 (LRU)
  indefinitely anymore.
* When get() returns a previously resurrected value from L2 (shm), we
  now correctly set the hit_lvl return value to 4, instead of 2.

Full Changelog:

https://github.com/thibaultcha/lua-resty-mlcache/blob/master/CHANGELOG.md

From #4216
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant