From 4a4472d78f777ade2c7c0257d97f92819722c24c Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Tue, 13 May 2014 17:07:46 -0700 Subject: [PATCH] add queryspec to compose_cached_query --- planetstack/core/plus/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetstack/core/plus/views.py b/planetstack/core/plus/views.py index bee590b..705f4f6 100644 --- a/planetstack/core/plus/views.py +++ b/planetstack/core/plus/views.py @@ -243,7 +243,7 @@ def getCDNOperatorData(randomizeData = False, wait=True): bq = PlanetStackAnalytics() - rows = bq.get_cached_query_results(bq.compose_latest_query(groupByFields=["%hostname", "event", "%slice"]), wait) # why did we need %slice ?? + rows = bq.get_cached_query_results(bq.compose_cached_query(), wait) # wait=False on the first time the Dashboard is opened. This means we might # not have any rows yet. The dashboard code polls every 30 seconds, so it -- 2.43.0