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


   The second `fetch_valid_cache` is a cache with lock pattern. You can take a 
look at:
   
https://github.com/thibaultcha/lua-resty-mlcache/blob/acf6d6e9d83d983425e0735b696a721851336167/lib/resty/mlcache.lua#L685
   Its comment explains how this pattern work.
   
   However, as we only get cached data from lrucache, which is process level 
cache, so it is safe to remove the second try. PR is welcome!


----------------------------------------------------------------
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:
[email protected]


Reply via email to