Skip to content

Commit 23f77a3

Browse files
NO-SNOW acquiring a lock on local OCSP cache will use a timeout (#2280)
1 parent 27a4a9a commit 23f77a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/snowflake/connector/ocsp_snowflake.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ def _deserialize(cls, opened_fd) -> _OCSPResponseValidationResultCache:
227227
OCSPResponseValidationResult,
228228
] = _OCSPResponseValidationResultCache(
229229
entry_lifetime=constants.DAY_IN_SECONDS,
230+
file_timeout=60.0,
230231
file_path={
231232
"linux": os.path.join(
232233
"~", ".cache", "snowflake", "ocsp_response_validation_cache.json"

0 commit comments

Comments
 (0)