MCPcopy Create free account
hub / github.com/s3tools/s3cmd / _fail_wait

Method _fail_wait

S3/CloudFront.py:605–607  ·  view source on GitHub ↗
(self, retries)

Source from the content-addressed store, hash-verified

603 return conn
604
605 def _fail_wait(self, retries):
606 # Wait a few seconds. The more it fails the more we wait.
607 return (self.config.max_retries - retries + 1) * 3
608
609 def get_dist_name_for_bucket(self, uri):
610 if uri.type == "cf":

Callers 1

send_requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected