Commit Graph

13 Commits

Author SHA1 Message Date
Sean a63e4a8ca1 Add threadsafety notes
This is a comments-only change to note the threadsafety properties. It may be the case that ForAttempt is always threadsafe, but the Go race detector complains about the default setting on lines 44-52. And the workaround is quite easy.
2016-04-06 10:34:11 -07:00
Jaime Pillora f85df8d02b Enabled CI 2016-03-02 10:05:12 +11:00
Jaime Pillora d342b6316f Merge pull request #5 from keegancsmith/master
Add ForAttempt
2016-03-02 10:02:37 +11:00
Keegan Carruthers-Smith 741535fc02 Add ForAttempt
See documentation for motivation.
2016-03-01 17:31:41 +02:00
Jaime Pillora 2ff7c46940 forgot dashes 2015-03-07 13:35:25 +11:00
Jaime Pillora d61cb21927 added some more docs 2015-03-07 13:34:50 +11:00
Jaime Pillora 886d12305b Merge pull request #1 from Danwakefield/master
Add Jitter to backoff.
2015-03-07 13:26:28 +11:00
Daniel Wakefield 491389a93e Add Jitter to backoff.
Amazon recently wrote about performance gains of using jitter in
concurrent systems. http://www.awsarchitectureblog.com/2015/03/backoff.html

Seemed simple enough to add and wont change any code that may already be
using Backoff.
2015-03-06 14:42:27 +00:00
Jaime Pillora ff2ca325ba more docs 2015-03-05 22:06:27 +11:00
Jaime Pillora 793ea4ae06 added go get (install) 2015-03-04 15:21:35 +11:00
Jaime Pillora 041f4462d5 simplified further, added more tests 2015-03-04 02:44:54 +11:00
Jaime Pillora a6647af774 added more docs 2015-03-03 09:01:21 +11:00
Jaime Pillora 34204cc40b initial, tests passing 2015-02-28 17:21:18 +11:00