From 256840af902b28087cd2b5c829c71b22714e7033 Mon Sep 17 00:00:00 2001 From: Michele Di Maria Date: Thu, 9 Feb 2012 20:19:28 +0100 Subject: Improvements for stability and optimizazions - Improved the reception of data from LCDd. Now there's a cycle that run until there's no more data do receive. Before that there was the possibility of a buffer overflow in LCDd. The timeout of the receiving socket is 25ms. - Optimized the number of commands sent to LCDd every cycle. Now it is sent only the half; - Rewritten with better code the error handling; - Increased to 3 the number of attempts the client performs to reconnect to LCDd in case of disconnection; - Simplified the startup scripts. Now lcdproc_client.sh is not generated/run anymore, since the error handling is managed by the client; - Changed the startup scripts to run both LCDd then the client as "nice" process; - Capped the wait time between each client cycle to 5 seconds. It still is calculated as the refresh frequency * the number of screen activated, but now it's capped; - Increased to 8000 chars the trunk of data received from LCDd; - Improved the "service stop" script. Now it cycle until LCDd is definitely killed and works even if LCDd is hung; - Added a "welcome" string on the panel at the LCDd startup; Thanks, Michele --- config/lcdproc-dev/lcdproc.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/lcdproc-dev/lcdproc.xml') diff --git a/config/lcdproc-dev/lcdproc.xml b/config/lcdproc-dev/lcdproc.xml index 07d19816..b077250f 100644 --- a/config/lcdproc-dev/lcdproc.xml +++ b/config/lcdproc-dev/lcdproc.xml @@ -1,8 +1,8 @@ - Services: LCDproc 0.5.5 pkg v. 0.9.2 + Services: LCDproc 0.5.5 pkg v. 0.9.3 lcdproc - 0.5.5 pkg v. 0.9.2 + 0.5.5 pkg v. 0.9.3 Save /usr/local/pkg/lcdproc.inc -- cgit v1.2.3