ammachado commented on PR #31222: URL: https://github.com/apache/camel/pull/31222#issuecomment-7335016363
@gnodet thanks for the review. The `flushOnStartup` leak in `doStart()` is fixed in this PR (2e814515e157): the flush now runs through `redisTemplate.execute(...)`, which returns the connection to the pool, and still flushes the whole database as documented. The new test `shouldFlushOnStartupThroughTheTemplate` checks that the flush happens and that no connection is taken from the factory directly; it fails on the previous code. _Claude Code on behalf of Adriano Machado (@ammachado)_ _This was generated by an AI agent and may contain inaccuracies. Please verify before relying on it._ -- 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]
