fixed linking issue in arping and shm test (#659)

Co-authored-by: Erik Frojdh <erik.frojdh@psi.ch>
This commit is contained in:
Erik Fröjdh
2023-02-14 14:49:00 +01:00
committed by GitHub
parent 7c047cab4a
commit 0251aa9e63
3 changed files with 3 additions and 4 deletions

View File

@ -85,8 +85,8 @@ void Arping::ProcessExecution() {
if (!error.empty()) {
LOG(logERROR) << error;
}
std::this_thread::sleep_for(std::chrono::seconds(timeIntervalSeconds));
const auto interval = std::chrono::seconds(60);
std::this_thread::sleep_for(interval);
}
}

View File

@ -36,7 +36,6 @@ class Arping {
std::vector<std::string>(MAX_NUMBER_OF_LISTENING_THREADS);
std::atomic<bool> runningFlag{false};
std::atomic<pid_t> childPid{0};
static const int timeIntervalSeconds = 60;
};
} // namespace sls