X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=test%2Flib%2FRetry.cpp;h=5764091f578fae2bacfc9608c214d5788c2d06f0;hb=45ea90bdab096a56aaf00e5ba314d6dac27d23a3;hp=71fde0e046f7cc03a25d568b0b3893175dc31dc3;hpb=9f262c9ea92d4869715ca6f534c80075a8310ac1;p=awesomized%2Flibmemcached diff --git a/test/lib/Retry.cpp b/test/lib/Retry.cpp index 71fde0e0..5764091f 100644 --- a/test/lib/Retry.cpp +++ b/test/lib/Retry.cpp @@ -15,7 +15,7 @@ bool Retry::operator()() { return true; } this_thread::sleep_for(dur); - dur *= 1.2; + dur += dur / growth; } return false;