From b46278a7467b1ebe2cd2cd16ef400f927987524f Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Wed, 5 Aug 2009 22:44:47 +0200 Subject: Lower the wget timeout to 3s in weather.lua --- weather.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weather.lua') 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() -- cgit v1.2.3