We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f78308 commit 389bd5eCopy full SHA for 389bd5e
connection.py
@@ -588,7 +588,8 @@ def __open_connection(self):
588
ocsp_cache_server = \
589
u'http://ocsp{}/ocsp_response_cache.json'.format(
590
self.host[self.host.index('.'):])
591
- os.environ['SF_OCSP_RESPONSE_CACHE_SERVER_URL'] = ocsp_cache_server
+ if 'SF_OCSP_RESPONSE_CACHE_SERVER_URL' not in os.environ:
592
+ os.environ['SF_OCSP_RESPONSE_CACHE_SERVER_URL'] = ocsp_cache_server
593
logger.debug(u"OCSP Cache Server is updated: %s", ocsp_cache_server)
594
else:
595
if 'SF_OCSP_RESPONSE_CACHE_SERVER_URL' in os.environ:
0 commit comments