diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-10 15:04:54 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-10 15:04:54 -0400 |
| commit | e0db7177b49ad73ab5296bc90a359d63a5503cbe (patch) | |
| tree | 44d25b6c64b7d3f02a34174a28fd9e9bbcc8d0d1 /src/nxmaccessmanager.cpp | |
| parent | 97dd16a87a3b398028c1408d24209ade329c78d2 (diff) | |
added hidden validation_timeouts setting
Diffstat (limited to 'src/nxmaccessmanager.cpp')
| -rw-r--r-- | src/nxmaccessmanager.cpp | 6 |
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; } } |
