Reduce nice level

This commit is contained in:
2020-05-06 16:45:19 +02:00
parent 4a5472a4b3
commit 1db5b2560e
+1 -1
View File
@@ -66,7 +66,7 @@ void UdpRecvModule::receive_thread(const uint16_t udp_port)
pid_t tid;
tid = syscall(SYS_gettid);
int ret = setpriority(PRIO_PROCESS, tid, -10);
int ret = setpriority(PRIO_PROCESS, tid, -20);
if (ret == -1) throw runtime_error("cannot set nice");
UdpReceiver udp_receiver;