Increase mcabber_loop delay
authorMikael Berthe <mikael@lilotux.net>
Tue, 03 Nov 2009 22:16:22 +0100
changeset 1643 8c0e173d7d6a
parent 1642 cd67b29e04e3
child 1644 73fc85ea0b4b
Increase mcabber_loop delay This is a quick hack to use less CPU until we improve the GLib main loop events.
mcabber/src/main.c
--- a/mcabber/src/main.c	Mon Nov 02 19:11:29 2009 +0200
+++ b/mcabber/src/main.c	Tue Nov 03 22:16:22 2009 +0100
@@ -410,7 +410,7 @@
 
   scr_LogPrint(LPRINT_DEBUG, "Entering into main loop...");
 
-  g_timeout_add(10, mcabber_loop, NULL);
+  g_timeout_add(100, mcabber_loop, NULL);
   g_main_loop_run(main_loop);
 
   scr_TerminateCurses();