kingluo commented on issue #8017:
URL: https://github.com/apache/apisix/issues/8017#issuecomment-1263038480

   @tzssangglass Not necessary at all. The `authenticate()` encapsulates the 
auth logic all-in-one and start the session (for some server-side storages, 
e.g. shm, not only redis, does locking if option enabled), the session is open 
(so that locking is hold during open) only for making the session manipulation 
a transaction, but it's useless for our plugin. Moreover, it is safe to close 
it immediately. And note that the close is provided for all storages and 
idempotent.


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