Skip to content

[Clarification] Better to open a persistent client or always to use resource #839

Closed Answered by yisraelU
Marcus-Rosti asked this question in Q&A
Discussion options

You must be logged in to vote

Definitely create one instance at the beginning of the application and pass it around.
Since Redis4Cats wraps Lettuce , you can take a look at the documentation of how connections are maintained and kept alive

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yisraelU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #836 on January 15, 2024 14:53.