Browse Source

Set library update period to 60 seconds.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
d7a987cb70
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/library.cpp

+ 1
- 1
src/library.cpp View File

@@ -30,7 +30,7 @@ static void checkUpdatesLoop() {

// Sleep a few seconds, or wake up when destroy() is called
std::unique_lock<std::mutex> lock(updatesLoopMutex);
auto duration = std::chrono::seconds(15);
auto duration = std::chrono::seconds(60);
if (!updatesLoopRunning)
break;
updatesLoopCv.wait_for(lock, duration, []() {return !updatesLoopRunning;});


Loading…
Cancel
Save