diff config.fetch_weather.example @ 447:11124f9bf994

fetch_weather: Instead of checking the latest static metadata update timestamp against the weather data XML, have a setting of days until the metadata is considered stale. This is because the new REST/JSON API does not provide the metadata updated timestamp anymore.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 28 Sep 2017 15:19:09 +0300
parents ba559d5d44db
children b352722e8717
line wrap: on
line diff
--- a/config.fetch_weather.example	Thu Sep 28 15:17:39 2017 +0300
+++ b/config.fetch_weather.example	Thu Sep 28 15:19:09 2017 +0300
@@ -22,6 +22,9 @@
 ## Tiehallinto static meta data file + path
 tiehallinto_meta = "/some/path/weather.tiehallinto.meta"
 
+# Fetch period for static meta data (in days)
+tiehallinto_meta_period = 7
+
 ##
 ## Enable/disable open data access from FMI
 ## You will need to obtain an API key, refer to