Rafa de la Torre
a709e8f26f
Set the default copy_from_max_post_size to 2 GB
...
Set the default copy_from_max_post_size to exactly 2 GB, as the nginx
limitation has been removed for that endpoint. So, the application is
now in control and this keeps the code clear and clean.
2018-07-26 12:52:20 +02:00
Rafa de la Torre
6053940d51
Add config for COPY FROM max POST size
...
You may be wondering: why it checks for 1.99 GB but it says the limit is
at 2 GB? The actual hard-limit is set in nginx, but we want the app to
catch this error condition and report it properly to the client,
hence the 0.5 % license.
2018-07-23 16:59:27 +02:00
Rafa de la Torre
17c8cbc723
Add a timeout setting for COPY commands
2018-07-20 15:32:32 +02:00
Simon Martín
fca6ee8232
changing name of dataIngestionLogPath
2018-05-23 17:32:44 +02:00
Simon Martín
b2a36eb556
copy metrics with BunyanLogger
2018-05-23 17:25:46 +02:00
Simon Martín
b373c76d8c
adding parameter in config files
2018-04-24 15:54:48 +02:00
Simon Martín
35df7798ab
config params
2018-03-01 11:30:58 +01:00
Simon Martín
8665caa3cb
changing error log format
2017-12-12 10:55:54 +01:00
Simon Martín
1eae2e4790
adding error header to environment files
2017-11-28 17:32:29 +01:00
Rafa de la Torre
8c2e5f74df
Add tableCacheEnabled setting to sample config #422
2017-06-27 13:14:13 +02:00
Raul Ochoa
14846b254e
Document gc_interval configuration param
2017-04-24 18:28:10 +02:00
Daniel García Aubert
4b98b7056a
Make zip command path configurable
2017-04-18 12:15:47 +02:00
Raul Ochoa
aa69bcf34c
Increase to 4 the default value for fixed capacity
2016-10-20 20:16:34 +02:00
Raul Ochoa
19def2f31e
Default to 2 jobs in fixed capacity.
2016-10-20 11:12:27 +02:00
Raul Ochoa
66cc137d04
Split http capacity between simple and load
...
- Simple will use 'available_cores' from response.
- Load will use 'cores' and 'relative_load'.
2016-10-20 11:12:08 +02:00
Raul Ochoa
0af5cf703a
Allow to configure capacity strategy
...
- HTTP strategy: mechanism to compute load from db host.
- Fixed strategy: hardcoded number of queries to run at the same time, via configuration.
2016-10-19 18:42:53 +02:00
Raul Ochoa
66d1c18941
Default to 64 queued jobs as max
2016-10-17 15:23:53 +02:00
Raul Ochoa
1e442b37ab
Allow to set a max number of queued jobs per user
2016-10-12 22:40:35 +02:00
Raul Ochoa
595d4f0918
Fix sample config for batch timeout
2016-10-10 11:10:28 +02:00
Raul Ochoa
7c7320061f
Merge branch 'master' into limit-batch-queries
2016-10-06 12:46:34 +02:00
Daniel García Aubert
59e5c10f85
Set batch queries log path
2016-09-29 15:37:14 +02:00
Daniel García Aubert
4f3d361226
Fixes #356 , set limit to batch queries to 12h
2016-09-13 12:32:41 +02:00
Daniel García Aubert
2932227e8b
Improved naming for jobs TTL constant
2016-08-30 13:49:16 +02:00
Daniel García Aubert
31ac48ef1a
Changed job's ttl to be configurable
2016-01-21 15:33:42 +01:00
Daniel García Aubert
f41c43aa38
Disabled statement timeout bypassing pgbouncer connection
2015-12-22 15:43:00 +01:00
Raul Ochoa
93e965af29
Makes ogr2ogr command configurable so it's possible to change path/bin
2015-06-16 15:53:33 +02:00
Francisco Dans
cebc568ca8
uses remote-addr in example configurations
2015-05-26 19:19:37 +02:00
Raul Ochoa
8fe4224a55
Changes configuration example base_url for subdomainless users
2015-04-08 16:14:05 +02:00
Luis Bosque
373dca0733
Added ; to the end of disabledfile config param
2015-03-25 18:28:45 +01:00
Luis Bosque
897df7634b
Return failed health checks with disabled file
2015-03-25 17:15:41 +01:00
Raul Ochoa
9dcb397737
Merge pull request #205 from CartoDB/url_rewrite
...
added /u/:user routing
2015-03-20 12:22:07 +01:00
Raul Ochoa
a9dac76e38
Examples for configuring max size per row limit
2015-02-26 16:18:37 +01:00
Raul Ochoa
dc388ca2db
Adds configuration options examples for keep alive
2015-02-19 17:27:41 +01:00
Raul Ochoa
e5ab4272eb
Use a multiple params route to be able to extract the username from
...
the path or default to host header.
2015-02-02 12:09:34 +01:00
javi
824b7c084e
added /u/:user routing
2015-01-30 11:37:29 +01:00
Raul Ochoa
7c62632ea8
Health check endpoint
2014-08-26 18:40:58 +02:00
Raul Ochoa
bd6c1e7164
Adds support to append logs to file with log4js. It listens to HUP signal to re-open the log file. In case the specified log filename is not writeable the server will not start.
2014-06-04 19:46:13 +02:00
Sandro Santilli
766345595e
Add statsd support
...
Closes #133
2014-03-20 11:22:13 +01:00
Sandro Santilli
7ab87fd296
Add doumentation of useProfiler setting
2014-03-20 10:48:23 +01:00
Sandro Santilli
2cbdc4c38c
Add profiler support
...
Closes #142
2014-03-19 18:34:21 +01:00
Sandro Santilli
b565ce2959
Allow configuring log_format
...
Closes #131
2014-02-10 17:34:27 +01:00
Sandro Santilli
87d35aa155
Generalize CartoDB username extraction, allowing for multiuser setups
...
Closes #124
2013-12-18 11:59:00 +01:00
Sandro Santilli
493955a468
Fix syntax of new directives
2013-11-18 13:42:52 +01:00
Sandro Santilli
6ebeed04c2
Optionally read user-specific database_password from redis
...
Follows CartoDB-2.5.0 model. Includes testcase.
Closes #120 -- Jira ref CDB-870
2013-11-18 13:31:11 +01:00
Sandro Santilli
8d2347af99
Make public PostgreSQL user name a configuration parameter
...
Closes #56 .
Updates documentation and tests and example config files
2013-11-05 17:49:10 +01:00
Sandro Santilli
8fa0bc7cee
Add note about tmpDir needing to be writable by server user
...
As per
https://groups.google.com/d/msg/cartodb/z06r9SwaoOM/b34In4TTdd0J
2013-08-21 10:03:12 +02:00
Sandro Santilli
7712d6f2a5
Expose PostgreSQL client pooling settings in environment files
...
Actually also moves to a real pooling model, managed by node-pg.
Closes #47
See .example files for new configurations
2013-05-24 12:09:06 +02:00
Sandro Santilli
81a83b93e4
Make base url configurable, use a wildcard in the example config
2013-05-23 11:49:23 +02:00
Sandro Santilli
c3ae7074cb
Make temporary dir a configuration setting
2013-03-26 16:02:05 +01:00
Sandro Santilli
19eb51b06d
Use an LRU cache for query tables, and add expiration support
...
Defaults to 8192 items each valid for no more than 10 minutes
Both settings can be changed via environment config.
See #83
2013-02-13 18:59:09 +01:00