linagora / tmail-backend

GNU Affero General Public License v3.0
30 stars 17 forks source link

Apisix plugin - support case Redis down #1023

Closed vttranlina closed 2 months ago

vttranlina commented 2 months ago

Context

In the tmail-apisix-plugin-runner plugin, we currently have a TokenRevokedFilter. This filter is responsible for checking whether the token in the request has been revoked previously by querying Redis. The issue arises when Redis is down, causing the checking process to take a significant amount of time and resulting in the inability to perform login and logout flows.

Ref: https://github.com/linagora/tmail-backend/issues/1013

How to resolve it

DOD

vttranlina commented 2 months ago

pr https://github.com/linagora/tmail-backend/pull/1025