[Xfce4-commits] <xfce4-weather-plugin:master> Increase download frequency of weather data to 3 times per hour.
Harald Judt
noreply at xfce.org
Sun Dec 9 23:44:25 CET 2012
Updating branch refs/heads/master
to e1f2d5cd89066ad06dd660302a8930e4f5462e0c (commit)
from c5e073f4462b05f9080bbac1066f2a617116c687 (commit)
commit e1f2d5cd89066ad06dd660302a8930e4f5462e0c
Author: Harald Judt <h.judt at gmx.at>
Date: Sun Dec 9 19:24:43 2012 +0100
Increase download frequency of weather data to 3 times per hour.
That's much better now because data won't be cleared on download.
panel-plugin/weather.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 097a87e..7d804c1 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -38,9 +38,9 @@
#include "weather-debug.h"
#define XFCEWEATHER_ROOT "weather"
-#define UPDATE_INTERVAL 15
-#define DATA_MAX_AGE (3 * 3600)
-#define BORDER 8
+#define UPDATE_INTERVAL (15)
+#define DATA_MAX_AGE (20 * 60)
+#define BORDER (8)
#define CONNECTION_TIMEOUT (10) /* connection timeout in seconds */
#define DATA_AND_UNIT(var, item) \
More information about the Xfce4-commits
mailing list