aboutsummaryrefslogtreecommitdiff
path: root/weather.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-05 22:44:47 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-05 22:44:47 +0200
commitb46278a7467b1ebe2cd2cd16ef400f927987524f (patch)
tree8611d4cdc6adacfd0ca800ec815d21bb84b9ce48 /weather.lua
parenteaf847011169a9f7b3ff33f5b995467be9ff71fa (diff)
downloadvicious-legacy-b46278a7467b1ebe2cd2cd16ef400f927987524f.tar.xz
Lower the wget timeout to 3s in weather.lua
Diffstat (limited to 'weather.lua')
-rw-r--r--weather.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/weather.lua b/weather.lua
index 9e2424a..e156da8 100644
--- a/weather.lua
+++ b/weather.lua
@@ -22,7 +22,7 @@ function worker(format, station)
local noaa = "http://weather.noaa.gov/pub/data/observations/metar/decoded/"
-- Get info from a weather station
- local f = io.popen("wget --timeout=5 -o /dev/null -O - "..noaa..station..".TXT")
+ local f = io.popen("wget --timeout=3 -o /dev/null -O - "..noaa..station..".TXT")
local ws = f:read("*all")
f:close()