Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pdns/lua-record.cc
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,10 @@ class IsUpOracle
// set thread name again, in case std::async surprised us by doing work in this thread
setThreadName("pdns/luaupcheck");

std::this_thread::sleep_until(checkStart + std::chrono::seconds(interval));
// Only sleep for 1 second here, even if the health check interval is
// larger, in case we get new entries to process in d_statuses in the
// meantime.
std::this_thread::sleep_for(std::chrono::seconds(1));
}
}

Expand Down