You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've switched to using UnifiedJedis in my application, as I needed module commands.
I replaced using my own connection pool by having UnifiedJedis create and manage one.
One thing that I found lacking - is an ability to run a transaction with watches.
Watches have to be done on a connection, before multi is executed.
But UnifiedJedis only lets you get a transaction where multi has already been executed.
I didn't find any other way of making use of watch/multi, except for creating transactions on a connection that I somehow must obtain outside UnifiedJedis (and therefore can't use the latter as a single connection pool source).
The text was updated successfully, but these errors were encountered:
I've switched to using
UnifiedJedis
in my application, as I needed module commands.I replaced using my own connection pool by having
UnifiedJedis
create and manage one.One thing that I found lacking - is an ability to run a transaction with watches.
Watches have to be done on a connection, before multi is executed.
But
UnifiedJedis
only lets you get a transaction wheremulti
has already been executed.I didn't find any other way of making use of
watch
/multi
, except for creating transactions on a connection that I somehow must obtain outsideUnifiedJedis
(and therefore can't use the latter as a single connection pool source).The text was updated successfully, but these errors were encountered: