summaryrefslogtreecommitdiff
path: root/src/nxmaccessmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxmaccessmanager.cpp')
-rw-r--r--src/nxmaccessmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nxmaccessmanager.cpp b/src/nxmaccessmanager.cpp
index 0064f888..2fe676ba 100644
--- a/src/nxmaccessmanager.cpp
+++ b/src/nxmaccessmanager.cpp
@@ -611,17 +611,19 @@ void NexusKeyValidator::start(const QString& key, Behaviour b)
m_key = key;
+ const auto timeouts = Settings::instance().nexus().validationTimeouts();
+
switch (b)
{
case OneShot:
{
- createAttempts({10s});
+ createAttempts({timeouts[0]});
break;
}
case Retry:
{
- createAttempts({10s, 15s, 20s});
+ createAttempts(timeouts);
break;
}
}