Skip to content
Discussion options

You must be logged in to vote

Currently: no. We could potentially track this and add it to the interface, but honestly: a timeout is a timeout - there's a chance it would have been caught by a heartbeat and nuked anyway. An argument could be made that this should surface as a TimeoutException, but... in most cases, I think "rework the approach" is preferable; this could be via atomic commands at the server (in this case: HSETNX or HSETEX ... {FNX|FXX}, both of which are available via IDatabaseAsync) or Lua (ScriptEvaluate[Async]).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yaskovdev
Comment options

Answer selected by yaskovdev
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