config params

remotes/origin/rateLimits
Simon Martín 7 years ago
parent fadd9032c6
commit 6564ed69d8

@ -343,7 +343,27 @@ var config = {
// whether the affected tables for a given SQL must query directly postgresql or use the SQL API // whether the affected tables for a given SQL must query directly postgresql or use the SQL API
cdbQueryTablesFromPostgres: true, cdbQueryTablesFromPostgres: true,
// whether in mapconfig is available stats & metadata for each layer // whether in mapconfig is available stats & metadata for each layer
layerStats: true layerStats: true,
// whether it should rate limit endpoints (global configuration)
rateLimitsEnabled: false,
// whether it should rate limit one or more endpoints (only if rateLimitsEnabled = true)
rateLimitsByEndpoint: {
endpoint1: false,
endpoint2: false,
endpoint3: false,
endpoint5: false,
endpoint6: false,
endpoint7: false,
endpoint8: false,
endpoint9: false,
endpoint10: false,
endpoint11: false,
endpoint12: false,
endpoint13: false,
endpoint14: false,
endpoint15: false,
endpoint17: false
}
} }
}; };

@ -345,7 +345,27 @@ var config = {
// whether the affected tables for a given SQL must query directly postgresql or use the SQL API // whether the affected tables for a given SQL must query directly postgresql or use the SQL API
cdbQueryTablesFromPostgres: true, cdbQueryTablesFromPostgres: true,
// whether in mapconfig is available stats & metadata for each layer // whether in mapconfig is available stats & metadata for each layer
layerStats: false layerStats: false,
// whether it should rate limit endpoints (global configuration)
rateLimitsEnabled: false,
// whether it should rate limit one or more endpoints (only if rateLimitsEnabled = true)
rateLimitsByEndpoint: {
endpoint1: false,
endpoint2: false,
endpoint3: false,
endpoint5: false,
endpoint6: false,
endpoint7: false,
endpoint8: false,
endpoint9: false,
endpoint10: false,
endpoint11: false,
endpoint12: false,
endpoint13: false,
endpoint14: false,
endpoint15: false,
endpoint17: false
}
} }
}; };

@ -345,7 +345,27 @@ var config = {
// whether the affected tables for a given SQL must query directly postgresql or use the SQL API // whether the affected tables for a given SQL must query directly postgresql or use the SQL API
cdbQueryTablesFromPostgres: true, cdbQueryTablesFromPostgres: true,
// whether in mapconfig is available stats & metadata for each layer // whether in mapconfig is available stats & metadata for each layer
layerStats: true layerStats: true,
// whether it should rate limit endpoints (global configuration)
rateLimitsEnabled: false,
// whether it should rate limit one or more endpoints (only if rateLimitsEnabled = true)
rateLimitsByEndpoint: {
endpoint1: false,
endpoint2: false,
endpoint3: false,
endpoint5: false,
endpoint6: false,
endpoint7: false,
endpoint8: false,
endpoint9: false,
endpoint10: false,
endpoint11: false,
endpoint12: false,
endpoint13: false,
endpoint14: false,
endpoint15: false,
endpoint17: false
}
} }
}; };

@ -339,7 +339,27 @@ var config = {
// whether the affected tables for a given SQL must query directly postgresql or use the SQL API // whether the affected tables for a given SQL must query directly postgresql or use the SQL API
cdbQueryTablesFromPostgres: true, cdbQueryTablesFromPostgres: true,
// whether in mapconfig is available stats & metadata for each layer // whether in mapconfig is available stats & metadata for each layer
layerStats: true layerStats: true,
// whether it should rate limit endpoints (global configuration)
rateLimitsEnabled: false,
// whether it should rate limit one or more endpoints (only if rateLimitsEnabled = true)
rateLimitsByEndpoint: {
endpoint1: false,
endpoint2: false,
endpoint3: false,
endpoint5: false,
endpoint6: false,
endpoint7: false,
endpoint8: false,
endpoint9: false,
endpoint10: false,
endpoint11: false,
endpoint12: false,
endpoint13: false,
endpoint14: false,
endpoint15: false,
endpoint17: false
}
} }
}; };

Loading…
Cancel
Save