-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi,
The $redis->multi; line below fails when the connection is dropped (before calling the code).
We gone through the code and realised that if multi is called even when the connection is dropped, it first sets the _in_multi to true, then it checks the connection, then throws error.
(https://github.com/trinitum/RedisDB/blob/master/lib/RedisDB.pm#L1664)
Is that intended behaviour ? It would be great if it checks for connection and throws error before setting the flag. That would cause it to not pass through multiple subroutines before realising there is no connection then throws an error, which causes it harder to debug.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels