aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJustin Karneges <justin@affinix.com>2013-06-10 17:50:10 -0700
committerJustin Karneges <justin@affinix.com>2013-06-10 17:50:10 -0700
commit9a63528df554f1d281c3759f45f6ddfed625defb (patch)
treee75bb6a47ca89bbac56bf20470ed7bc214933d6c /README
parent646365204f663239346de479874dc4c862d27c41 (diff)
downloadpollymer-9a63528df554f1d281c3759f45f6ddfed625defb.tar
pollymer-9a63528df554f1d281c3759f45f6ddfed625defb.tar.gz
allow specifying which error codes should cause auto-retrying
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 6 insertions, 0 deletions
diff --git a/README b/README
index eeff1e1..dc58b05 100644
--- a/README
+++ b/README
@@ -123,6 +123,12 @@ Properties of Request Object:
Request wait timeout in milliseconds.
Default 60000.
+ errorCodes: string
+ The error codes and/or ranges that should cause automatic retrying. For
+ example, to have all error codes in the 500-599 range cause an automatic
+ retry except for code 501, you could set errorCodes to '500,502-599'.
+ Default is '500-599'.
+
Retries:
When a request fails at the transport level, or the request succeeds with an