Tweaked the request retries logic.

We now send more retry requests that are less spaced apart.
This commit is contained in:
Strahinja Val Markovic 2013-10-17 14:45:16 -07:00
parent 40464f6e0d
commit acae8e4e9d

View File

@ -70,7 +70,7 @@ class BaseRequest( object ):
headers = HEADERS,
timeout = timeout )
@retries( 3, delay = 0.5 )
@retries( 5, delay = 0.5, backoff = 1.5 )
def DelayedPostData( data, handler ):
return requests.post( _BuildUri( handler ),
data = json.dumps( data ),