-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-18250] Check Error Before Returning Session to Pool
FAB-17722 introduced logic for evicting invalid sessions from the pkcs11 session pool. The GetSessionInfo call was expensive, taking nearly a full second per call. The change was reverted in FAB-18242. This change introduces a new method for evicting sessions by checking the error message returned when pkcs11 call fail and closing sessions that resulted in SESSION errors. Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
- Loading branch information
Brett Logan
committed
Sep 28, 2020
1 parent
fc0c3e2
commit a288fe4
Showing
2 changed files
with
38 additions
and
4 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