From 348d0c944e92e8dfb361190b97a168f27a7333b8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 10 Jan 2014 23:40:05 +0100 Subject: Stats: lazy initialization Ask the DatabasePlugin for stats when the first client requests them, not at startup. --- src/UpdateGlue.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/UpdateGlue.cxx') diff --git a/src/UpdateGlue.cxx b/src/UpdateGlue.cxx index 12ea126a9..52a5802ce 100644 --- a/src/UpdateGlue.cxx +++ b/src/UpdateGlue.cxx @@ -163,7 +163,7 @@ static void update_finished_event(void) } else { progress = UPDATE_PROGRESS_IDLE; - stats_update(); + stats_invalidate(); } } -- cgit v1.2.3