config params
This commit is contained in:
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
|
||||
cdbQueryTablesFromPostgres: true,
|
||||
// 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
|
||||
cdbQueryTablesFromPostgres: true,
|
||||
// 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
|
||||
cdbQueryTablesFromPostgres: true,
|
||||
// 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
|
||||
cdbQueryTablesFromPostgres: true,
|
||||
// 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…
Reference in New Issue
Block a user