Merge branch 'master' into remove-auth-fallback

This commit is contained in:
Eneko Lakasta 2018-06-05 16:19:36 +02:00
commit ca8ae503ac
2 changed files with 14 additions and 0 deletions

View File

@ -5,6 +5,7 @@ Released 2018-mm-dd
New features:
- CI tests with Ubuntu Xenial + PostgreSQL 10.1 and Ubuntu Precise + PostgreSQL 9.5
- Making version 2.0.0 configuration parameters backwards compatible
## 2.0.0

View File

@ -64,6 +64,19 @@ function App(statsClient) {
// Set default configuration
global.settings.db_pubuser = global.settings.db_pubuser || "publicuser";
global.settings.bufferedRows = global.settings.bufferedRows || 1000;
global.settings.ratelimits = Object.assign(
{
rateLimitsEnabled: false,
endpoints: {
query: false,
query_format: false,
job_create: false,
job_get: false,
job_delete: false
}
},
global.settings.ratelimits
);
var tableCache = new TableCacheFactory().build(global.settings);