Commit 9442b4b5 authored by Dominik Charousset's avatar Dominik Charousset

Use 30s for watchdog

parent f2f60445
...@@ -44,7 +44,7 @@ class watchdog { ...@@ -44,7 +44,7 @@ class watchdog {
watchdog() { watchdog() {
m_thread = std::thread([&] { m_thread = std::thread([&] {
auto tp = auto tp =
std::chrono::high_resolution_clock::now() + std::chrono::seconds(10); std::chrono::high_resolution_clock::now() + std::chrono::seconds(30);
std::unique_lock<std::mutex> guard{m_mtx}; std::unique_lock<std::mutex> guard{m_mtx};
while (!m_canceled while (!m_canceled
&& m_cv.wait_until(guard, tp) != std::cv_status::timeout) { && m_cv.wait_until(guard, tp) != std::cv_status::timeout) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment