summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-09-15 16:36:18 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2017-09-20 12:47:46 +0200
commita83419fe4a13bc77005d455dd89685b8c1443d96 (patch)
tree99770ff5bebd0816fd74e830e4308276b960dc9f
parent09d699a7c7edce60547a3e9900301e1ea62188f6 (diff)
downloadlibnitrokey-a83419fe4a13bc77005d455dd89685b8c1443d96.tar.gz
libnitrokey-a83419fe4a13bc77005d455dd89685b8c1443d96.tar.bz2
Set lower maximum between-sending delay
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--include/device_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/device_proto.h b/include/device_proto.h
index 6631d2f..bb14b42 100644
--- a/include/device_proto.h
+++ b/include/device_proto.h
@@ -314,7 +314,7 @@ namespace nitrokey {
std::to_string(receiving_retry_counter), Loglevel::DEBUG_L2);
} else {
retry_timeout *= 2;
- retry_timeout = std::min(retry_timeout, 500ms);
+ retry_timeout = std::min(retry_timeout, 300ms);
busy_counter = 0;
LOG("Status busy, decreasing receiving_retry_counter counter: " +
std::to_string(receiving_retry_counter) + ", current delay:"