During higher loads, retrying the connection attempt is often required for the CIS api. (#972)
This commit is contained in:
parent
0152985e64
commit
14f5340802
|
@ -372,6 +372,9 @@ class DigiCertCISSourcePlugin(SourcePlugin):
|
|||
|
||||
self.session.hooks = dict(response=log_status_code)
|
||||
|
||||
a = requests.adapters.HTTPAdapter(max_retries=3)
|
||||
self.session.mount('https://', a)
|
||||
|
||||
super(DigiCertCISSourcePlugin, self).__init__(*args, **kwargs)
|
||||
|
||||
def get_certificates(self, options, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue