daemon-conf: changing default rlimit_rttime value to 200 ms

Since rtkit v11, the top limit for rttime is 200 ms (previously it
was wrongly limited to 2 seconds).

Reviewed-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
This commit is contained in:
Ricardo Salveti de Araujo 2014-07-01 08:12:59 +02:00 committed by Tanu Kaskinen
parent 273aee1cf5
commit 4ac62d4690
2 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ static const pa_daemon_conf default_conf = {
,.rlimit_rtprio = { .value = 9, .is_set = true } /* One below JACK's default for the server */ ,.rlimit_rtprio = { .value = 9, .is_set = true } /* One below JACK's default for the server */
#endif #endif
#ifdef RLIMIT_RTTIME #ifdef RLIMIT_RTTIME
,.rlimit_rttime = { .value = PA_USEC_PER_SEC, .is_set = true } ,.rlimit_rttime = { .value = 200*PA_USEC_PER_MSEC, .is_set = true } /* rtkit's limit is 200 ms */
#endif #endif
#endif #endif
}; };

View file

@ -75,7 +75,7 @@ ifelse(@HAVE_SYS_RESOURCE_H@, 1, [dnl
; rlimit-msgqueue = -1 ; rlimit-msgqueue = -1
; rlimit-nice = 31 ; rlimit-nice = 31
; rlimit-rtprio = 9 ; rlimit-rtprio = 9
; rlimit-rttime = 1000000 ; rlimit-rttime = 200000
])dnl ])dnl
; default-sample-format = s16le ; default-sample-format = s16le