Redis: Handle disconnection correctly via callback

This commit is contained in:
Tim Wojtulewicz 2025-03-10 15:32:03 -07:00
parent b067a6e588
commit a40db844eb
3 changed files with 21 additions and 17 deletions

View file

@ -6233,7 +6233,7 @@ export {
NOT_CONNECTED,
## Operation timed out.
TIMEOUT,
## Connection to backed was lost.
## Connection to backed was lost unexpectedly.
CONNECTION_LOST,
## Generic operation failed.
OPERATION_FAILED,
@ -6241,7 +6241,8 @@ export {
KEY_NOT_FOUND,
## Key requested for overwrite already exists.
KEY_EXISTS,
## Generic connection failure.
## Generic connection-setup failure. This is not if the connection
## was lost, but if it failed to be setup in the first place.
CONNECTION_FAILED,
## Generic disconnection failure.
DISCONNECTION_FAILED,