Lower the wget timeout to 3s in weather.lua

This commit is contained in:
Adrian C. (anrxc) 2009-08-05 22:44:47 +02:00
parent eaf8470111
commit b46278a746
1 changed files with 1 additions and 1 deletions

View File

@ -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()