We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f12cb9 commit 98ed820Copy full SHA for 98ed820
src/utility/time/TimedAttempt.cpp
@@ -73,3 +73,7 @@ bool TimedAttempt::isExpired() {
73
unsigned int TimedAttempt::getRetryCount() {
74
return _retryCount;
75
}
76
+
77
+unsigned int TimedAttempt::getWaitTime() {
78
+ return _retry_delay;
79
+}
src/utility/time/TimedAttempt.h
@@ -29,6 +29,7 @@ class TimedAttempt {
29
bool isRetry();
30
bool isExpired();
31
unsigned int getRetryCount();
32
+ unsigned int getWaitTime();
33
34
private:
35
unsigned long _minDelay;
0 commit comments