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
When calling IDatabase.StringSet with when=When.NotExists and keepTtl=true, you are calling the "SETNX" command and also passing the KEEPTTL option, which is not supported. This should be updated to use the "SET" command with the "NX" and "KEEPTTL" options instead.
Example call:
IDatabase db = ...;
bool result = db.StringSet("key", "value", null, true, When.NotExists);
When calling IDatabase.StringSet with when=When.NotExists and keepTtl=true, you are calling the "SETNX" command and also passing the KEEPTTL option, which is not supported. This should be updated to use the "SET" command with the "NX" and "KEEPTTL" options instead.
Example call:
IDatabase db = ...;
bool result = db.StringSet("key", "value", null, true, When.NotExists);
StackExchange.Redis/src/StackExchange.Redis/RedisDatabase.cs
Line 4444 in 1c6b59e
The text was updated successfully, but these errors were encountered: