Nick Craig-Wood
4803ce010e
Make exponential backoff work exactly as per google specification - fixes #583
2016-10-17 17:57:09 +01:00
Nick Craig-Wood
28f4061892
Add two more classes of error Fatal and NoRetry
...
These are for remotes to signal that they have a fatal error and don't
want to continue (eg cap exceeded) or that a particular file shouldn't
be retried for some reason.
2016-07-04 13:45:52 +01:00
Nick Craig-Wood
9290004bb8
pacer: make sleep get-able and set-able
2016-07-01 16:22:51 +01:00
Nick Craig-Wood
4c5b2833b3
Convert to using github.com/pkg/errors everywhere
2016-06-13 17:43:03 +01:00
Nick Craig-Wood
0166544319
Add Attack constant to pacer
2016-03-05 20:29:05 +00:00
Nick Craig-Wood
e7b9cc4705
Fix pacer tests
2016-02-26 16:59:52 +00:00
Nick Craig-Wood
4712043e26
Fix race condition in pacer tests - fixes #156
2015-10-03 16:04:21 +01:00
Nick Craig-Wood
2ed158aba3
Fixes from go vet and errcheck
2015-09-22 07:31:12 +01:00
Nick Craig-Wood
05050d53ad
Implement compliant pacing scheme for Amazon Cloud Drive
...
* Implement switchable pacing algorithm
* Add tests for pacer
2015-09-21 21:49:54 +01:00