You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/24 09:11:57 UTC

[GitHub] [apisix] spacewander commented on issue #3112: request help: what is the use of item_release in lrucache.lua

spacewander commented on issue #3112:
URL: https://github.com/apache/apisix/issues/3112#issuecomment-750816939


   1, 2: the `item_release` is a callback to be called when cached value is released. It isn't used now.
   3: the lock is bypassed in most of the cases except `serial_creating` is set. It is a way to protect the backend from hitting by multiple workers, like Nginx's proxy_cache_lock.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org