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

Method _fail_wait

S3/S3.py:1567–1569  ·  view source on GitHub ↗
(self, retries)

Source from the content-addressed store, hash-verified

1565 return request
1566
1567 def _fail_wait(self, retries):
1568 # Wait a few seconds. The more it fails the more we wait.
1569 return (self.config.max_retries - retries + 1) * 3
1570
1571 def _http_redirection_handler(self, request, response, fn, *args, **kwargs):
1572 # Region info might already be available through the x-amz-bucket-region header

Callers 3

send_requestMethod · 0.95
send_fileMethod · 0.95
recv_fileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected