Add /_stats endpoint

Also, remove ingest_stats worker and use the cache instead.
This commit is contained in:
MICHAEL JACKSON
2017-08-22 08:31:33 -07:00
parent c4f3d5bbbc
commit 2a0d32f214
32 changed files with 555 additions and 18278 deletions

View File

@ -3,10 +3,6 @@
// Do this as the first thing so that any code reading it knows the right env.
process.env.NODE_ENV = 'production';
// Use dynamic server data in production by inserting a token that will be
// replaced when the HTML page is served.
process.env.REACT_APP_SERVER_DATA = '__SERVER_DATA__';
// Load environment variables from .env file. Suppress warnings using silent
// if this file is missing. dotenv will never modify any environment variables
// that have already been set.

View File

@ -2,9 +2,6 @@
process.env.NODE_ENV = 'development';
// Use static server data in development.
process.env.REACT_APP_SERVER_DATA = JSON.stringify(require('../server/dev-data'))
// Load environment variables from .env file. Suppress warnings using silent
// if this file is missing. dotenv will never modify any environment variables
// that have already been set.