Regularly store stats snapshots to track historical trends.

Fixes #37
This commit is contained in:
Ian Dunn 2019-12-06 08:03:54 -08:00 committed by GitHub
parent 152964f5cf
commit fda5842e86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 284 additions and 1 deletions

View file

@ -34,6 +34,7 @@ function load() {
require_once get_includes_path() . 'xprofile.php';
require_once get_includes_path() . 'endpoints.php';
require_once get_includes_path() . 'miscellaneous.php';
require_once get_includes_path() . 'stats.php';
// The logger expects things like `$_POST` which aren't set during unit tests.
if ( ! $running_unit_tests ) {