diff options
author | Max Kellermann <max@duempel.org> | 2014-01-10 23:40:05 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-10 23:42:46 +0100 |
commit | 348d0c944e92e8dfb361190b97a168f27a7333b8 (patch) | |
tree | b0b807712792435f02bf752e2e34e7d15184fb14 /src/UpdateGlue.cxx | |
parent | e9ba5fcaf319654ce685cd329414fcf2591c9c95 (diff) | |
download | mpd-348d0c944e92e8dfb361190b97a168f27a7333b8.tar.gz mpd-348d0c944e92e8dfb361190b97a168f27a7333b8.tar.xz mpd-348d0c944e92e8dfb361190b97a168f27a7333b8.zip |
Stats: lazy initialization
Ask the DatabasePlugin for stats when the first client requests them,
not at startup.
Diffstat (limited to 'src/UpdateGlue.cxx')
-rw-r--r-- | src/UpdateGlue.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } } |