devilhorns pushed a commit to branch master.
commit 6a8524259a72e857bc100b5b9aa655c9a012fa4a
Author: Chris Michael <[email protected]>
Date: Fri Aug 16 13:20:59 2013 +0100
E configs ping interval for clients is in ticks. Wayland event source
timers are in mils ... let's do some multiplication here to stop
clients from pinging out all the time and getting killed.
Signed-off-by: Chris Michael <[email protected]>
---
src/modules/wl_desktop_shell/e_mod_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/wl_desktop_shell/e_mod_main.c
b/src/modules/wl_desktop_shell/e_mod_main.c
index 81af709..5667a62 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -336,7 +336,7 @@ _e_wl_shell_cb_ping(E_Wayland_Surface *ews, unsigned int
serial)
/* update timer source interval */
wl_event_source_timer_update(tmr->source,
- e_config->ping_clients_interval);
+ e_config->ping_clients_interval * 32);
ewss->ping_timer = tmr;
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk