Rdebu commented on issue #59:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/59#issuecomment-902449848


   > > Since the expired token has been deleted from the Cache, why do you say 
that the token is still in memory?
   > 
   > I didn't say that. `Expired tokens in memory do not affect the access of 
new tokens` is ok, but it doesn't mean much.
   > 
   > To learn more about cache expiration issues, refer here:
   > 
   > 
https://github.com/apache/apisix-java-plugin-runner/blob/df69b2ebd24860d2c9effc5aeaed6d1b7e8a176d/runner-core/src/main/java/org/apache/apisix/plugin/runner/service/CacheConfiguration.java#L33-L35
   > 
   > The cache library we use is Guava Cache, you can read their documentation 
to find out when an expired key is deleted.
   
   Ah..  That's why I think expired tokens are not in Cache<token,A6Config> but 
elsewhere in memory  
   【啊。。,您当时回复了下面这句话,所以我才认为过期的token不在Cache<token,A6Config>中但是在内存中其他位置的】
   
![image](https://user-images.githubusercontent.com/58921097/130186040-421c3582-b99f-461e-9c30-4deab4031a6a.png)
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to