diff --git a/src/backoff.h b/src/backoff.h index cbf1c90..e26f417 100644 --- a/src/backoff.h +++ b/src/backoff.h @@ -3,6 +3,7 @@ #include #include #include +#include struct Backoff { int64_t minAmount; @@ -19,6 +20,7 @@ struct Backoff { , maxAmount(max) , current(min) , fails(0) + , randGenerator(time(0)) { }