Mercurial > hg > egg-tcls
diff config.fetch_weather.example @ 373:bc7746ca622e
fetch_weather: Implement purge_threshold setting.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 30 Jan 2016 00:55:43 +0200 |
parents | 9f64f54c2fb3 |
children | ba559d5d44db |
line wrap: on
line diff
--- a/config.fetch_weather.example Sat Jan 30 00:28:14 2016 +0200 +++ b/config.fetch_weather.example Sat Jan 30 00:55:43 2016 +0200 @@ -4,6 +4,17 @@ ### ## +## Purge time threshold for old/obsolete records. +## Fetch_weather stores data into a cache file, which +## also keeps older records as sometimes weather stations +## do not report reliably. However, too old records +## need to be purged. This setting sets the threshold +## time in MINUTES (default is 60 minutes) +## +purge_threshold = 60 + + +## ## Enable/disable data scraping from Tiehallinto's WWW-pages ## opt_tiehallinto = 1