aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/device_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/device_proto.h b/include/device_proto.h
index c126acd..691c17b 100644
--- a/include/device_proto.h
+++ b/include/device_proto.h
@@ -312,6 +312,7 @@ namespace nitrokey {
std::to_string(receiving_retry_counter), Loglevel::DEBUG_L2);
} else {
retry_timeout *= 2;
+ retry_timeout = std::min(retry_timeout, 500ms);
busy_counter = 0;
LOG("Status busy, decreasing receiving_retry_counter counter: " +
std::to_string(receiving_retry_counter) + ", current delay:"