From 0617cbe4acfffe8c0904f179a15b70baa2f9050a Mon Sep 17 00:00:00 2001 From: davidvanleeuwen Date: Sun, 3 Mar 2024 20:07:19 +0100 Subject: [PATCH] Disable aggregate for now --- server/lib/mave_metrics/stats.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/mave_metrics/stats.ex b/server/lib/mave_metrics/stats.ex index 6802c0e..91753f2 100644 --- a/server/lib/mave_metrics/stats.ex +++ b/server/lib/mave_metrics/stats.ex @@ -112,7 +112,7 @@ defmodule MaveMetrics.Stats do def refresh_daily_aggregation() do Repo.query!("REFRESH MATERIALIZED VIEW daily_session_aggregation;") - Repo.query!("REFRESH MATERIALIZED VIEW video_views_per_second_per_day_aggregate;") + # Repo.query!("REFRESH MATERIALIZED VIEW video_views_per_second_per_day_aggregate;") end defp float_video_time(attrs) do