Jaime Pillora
72aa2af4f9
move license from README into LICENSE ( closes #10 )
2017-02-22 11:06:34 +11:00
Jaime Pillora
f24585d1c7
Merge pull request #9 from extemporalgenome/master
...
Make ForAttempt concurrent-safe in all cases, golint.
2016-12-23 12:09:21 +11:00
Kevin Gillette
4dd47ae5ac
Make ForAttempt concurrent-safe in all cases, golint.
2016-12-22 13:36:47 -07:00
Jaime Pillora
a6f64285fd
Merge pull request #8 from dividinglimits/master
...
Short-circuit the backoff if Min backoff is greater than Max
2016-08-11 14:01:26 +10:00
Joshua Gentes
2d358da93d
gofmt styling
2016-08-04 17:27:51 -04:00
Joshua Gentes
ac9a0aaf07
Short-circuit the backoff algorithm.
2016-08-04 17:09:58 -04:00
Jaime Pillora
ed03cf77f8
docs
2016-08-03 12:50:56 +10:00
Jaime Pillora
0496a6c14d
add get currrent attempt method with test ( closes #2 )
2016-04-14 15:52:04 +10:00
Jaime Pillora
8dc7c27404
Merge pull request #7 from DrTall/patch-1
...
Add threadsafety notes
2016-04-07 12:52:02 +10:00
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