Expand description
Trying a connection again after it fails in a way that may pass, waiting longer after each failure in a row.
Constantsยง
- FIRST_
DELAY ๐ - How long to wait before the first retry; each one after waits twice as long.
- LONGEST_
DELAY ๐ - The longest wait, so a download that keeps failing still tries now and then.
Functionsยง
- delay ๐
- How long to wait after
failuresfailures in a row, the first being1. - retry_
count ๐ - How many times in a row a connection is tried again when the call asks for
asked; any number below zero asks for none.