-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCBC-1018: Do not destroy expired connection if it still being used
In some cases, when the extension is configured aggressively close persistent connections (e.g. with `couchbase.max_persistent=0` and `couchbase.persistent_timeout=0`), the connections might be considered expired and scheduled for destruction even if the application has references to them. This patch changes this behavior to skip such connection, and destroy them later, when the reference counter reaches zero.
- Loading branch information
Showing
2 changed files
with
74 additions
and
45 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
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