[telepathy-stream-engine/master] Limit prio to 15

Olivier Crête olivier.crete at collabora.co.uk
Thu Oct 22 07:45:17 PDT 2009


---
 src/stream-engine-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/stream-engine-main.c b/src/stream-engine-main.c
index dafd8bd..f9404f0 100644
--- a/src/stream-engine-main.c
+++ b/src/stream-engine-main.c
@@ -228,8 +228,8 @@ int main(int argc, char **argv)
   uid_t uid;
   struct rlimit rl;
 
-  rl.rlim_max = 99;
-  rl.rlim_cur = 99;
+  rl.rlim_max = 15;
+  rl.rlim_cur = 15;
   if (setrlimit(RLIMIT_RTPRIO, &rl) < 0)
     g_warning("setrlimit rtprio: %s", strerror (errno));
 
-- 
1.5.6.5



More information about the telepathy-commits mailing list