summaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-09-04 02:47:48 +0200
committerLennart Poettering <lennart@poettering.net>2009-09-04 02:48:37 +0200
commit812be327836c93492ad389333bcc037566141eb8 (patch)
tree403d5551be990532794c201070bce2eae81b75a9 /src/daemon
parent5daecea4dd4e0962e90e24a4ff594e2fa6a624a1 (diff)
daemon: disable CPU load limiter by default
RLIMIT_RTTIME and rtki can do this job much better, so let's disable this by default.
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/daemon-conf.c2
-rw-r--r--src/daemon/daemon.conf.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/daemon-conf.c b/src/daemon/daemon-conf.c
index ec1ec5ced..6e7926f83 100644
--- a/src/daemon/daemon-conf.c
+++ b/src/daemon/daemon-conf.c
@@ -83,7 +83,7 @@ static const pa_daemon_conf default_conf = {
.config_file = NULL,
.use_pid_file = TRUE,
.system_instance = FALSE,
- .no_cpu_limit = FALSE,
+ .no_cpu_limit = TRUE,
.disable_shm = FALSE,
.lock_memory = FALSE,
.default_n_fragments = 4,
diff --git a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in
index d8b58d8a0..db2059e1a 100644
--- a/src/daemon/daemon.conf.in
+++ b/src/daemon/daemon.conf.in
@@ -28,7 +28,7 @@
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
-; cpu-limit = yes
+; cpu-limit = no
; high-priority = yes
; nice-level = -11