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/DatabaseGlue.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/DatabaseGlue.cxx') diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx index bc99baa4f..f64b31738 100644 --- a/src/DatabaseGlue.cxx +++ b/src/DatabaseGlue.cxx @@ -137,8 +137,6 @@ DatabaseGlobalOpen(Error &error) db_is_open = true; - stats_update(); - return true; } -- cgit v1.2.3