-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connection: fix getpid() call on disconnect
Previous fix only handled the connections from `Valkey` class, which left classes like `Sentinel` broken because those are handled in `AbstractConnection`. Also after merging previous fix I was pointed to the place in Python standard library where the similar issue was handled by having `from os import getpid` instead of having a local object assigned to `os.getpid`. Fixes #158 Signed-off-by: Mikhail Koviazin <mikhail.koviazin@aiven.io>
- Loading branch information
Showing
1 changed file
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters