From 99c9cf0c024f00dcd9d161d18f0db73b66ece3dc Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 17 Jul 2023 14:36:02 -0700 Subject: [PATCH] mapsd: set nice value (#28994) Co-authored-by: Comma Device --- selfdrive/navd/main.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selfdrive/navd/main.cc b/selfdrive/navd/main.cc index 8cef07edc..f8501bf4a 100644 --- a/selfdrive/navd/main.cc +++ b/selfdrive/navd/main.cc @@ -1,6 +1,8 @@ +#include +#include + #include #include -#include #include "selfdrive/ui/qt/util.h" #include "selfdrive/ui/qt/maps/map_helpers.h" @@ -9,6 +11,7 @@ int main(int argc, char *argv[]) { qInstallMessageHandler(swagLogMessageHandler); + setpriority(PRIO_PROCESS, 0, -20); QApplication app(argc, argv); std::signal(SIGINT, sigTermHandler);