JoeyLee0201 commented on issue #2019:
URL: https://github.com/apache/apisix/issues/2019#issuecomment-670580627


   Yes,  it's a bug  which should be treat seriously. And I don't think my way 
is the best one.
   The cache will be update in lrucache.lua,if apisix find conf.version is not 
the same with obj version.
   But, the version seems not be updated when changing consumer's plugins. 
   
   So, I think a good way is to make sure conf.version will be update, thus 
when load cache, it will know context has been changed, then create a new limit 
object.
   
   It's just my suggestion, actually I don't know much detail behind the 
program, maybe there exist another better way.


----------------------------------------------------------------
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