From 2b5d155654d853abf1fb885bf9d8b9b059f17e6b Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Mon, 12 Feb 2018 14:28:23 -0800 Subject: binding: weather: update stats every 15 minutes To reduce API calls to OpenWeatherMap only update weather stats every 15 minutes. Changes that were required: * add glib-2.0 dependecy * adding rwlock to url data * g_timeout_add_seconds schedules an weather update every 15 minutes Bug-AGL: SPEC-1273 Change-Id: I09b92faf17830f305275dad7f4545cf64ebb43a2 Signed-off-by: Matt Ranostay --- conf.d/cmake/config.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf.d/cmake/config.cmake') diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index 2ea55a9..3b70742 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -65,6 +65,9 @@ set (gcc_minimal_version 4.9) # ----------------------------- set (PKG_REQUIRED_LIST json-c + glib-2.0 + gio-2.0 + gobject-2.0 libcurl libsystemd>=222 afb-daemon -- cgit 1.2.3-korg