update vendoring dependencies

This commit is contained in:
ngtuna committed 2016-07-19 17:20:46 +07:00
1 parent daa85e2027
commit 3164cd8abb
803 files changed
+1850 -337484

No files matched your search

-15
View File
@@ -1,15 +0,0 @@
package timeutil
import (
"time"
)
func ExpBackoff(prev, max time.Duration) time.Duration {
if prev == 0 {
return time.Second
}
if prev > max/2 {
return max
}
return 2 * prev
}