increase rt.limit from 200ms to 2seconds

200ms seems a little small, some plugins initialize themselves from the
RT thread and get killed. 2 seconds seem to be a better default.

The important part is that there is a limit so that runaway processes
are killed and don't lock up the system.

Fixes #1344
This commit is contained in:
Wim Taymans 2021-07-04 21:57:54 +02:00
parent 77318477bc
commit 4b9b97841d
12 changed files with 26 additions and 26 deletions

View file

@ -43,8 +43,8 @@
#define DEFAULT_NICE_LEVEL -11
#define DEFAULT_RT_PRIO 88
#define DEFAULT_RT_TIME_SOFT 200000
#define DEFAULT_RT_TIME_HARD 200000
#define DEFAULT_RT_TIME_SOFT 2000000
#define DEFAULT_RT_TIME_HARD 2000000
#define MODULE_USAGE \
"[nice.level=<priority: default " SPA_STRINGIFY(DEFAULT_NICE_LEVEL) ">] " \