+1770. [perf] fdupont
+ Set kea-lfc process priority to lower than default.
+ (Gitlab #1311)
+
1771. [func] fdupont
Added a stats-recount command to kea-admin tool, which recounts
cached statistics in MySQL and PostgreSQL lease databases.
#include <boost/exception/diagnostic_information.hpp>
#include <boost/exception_ptr.hpp>
#include <iostream>
+#include <sys/resource.h>
using namespace std;
using namespace isc::lfc;
/// The exit value of the program will be EXIT_SUCCESS if there were no
/// errors, EXIT_FAILURE otherwise.
int main(int argc, char* argv[]) {
+ // Ask scheduling to not give too much resources to LFC.
+ static_cast<void>(setpriority(PRIO_PROCESS, 0, 4));
+
int ret = EXIT_SUCCESS;
LFCController lfc_controller;