HY-love-sleep commented on issue #7156: URL: https://github.com/apache/shenyu/issues/7156#issuecomment-5770725747
The fix is up in #7157, @Aias00 — could you take a look when you have time? It adds the lifecycle end to `RedisConnectionFactory` (`DisposableBean.destroy()` plus a `destroyQuietly(...)` for the callers that keep only the reactive template) and releases the replaced client at the four sites this issue lists: `AiTokenLimiterPluginHandler`, `RateLimiterPluginDataHandler`, `RedisCache.close()` and `SensitiveWordPluginDataHandler`, which also releases it in `removePlugin`. The replaced client is destroyed after the new one is installed, so a request never sees a destroyed client, and the tests assert that a replaced client stops running while an unchanged configuration is not rebuilt. -- 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]
