Raul Ochoa
bf24347328
Exposes redis `noReadyCheck` config
9 years ago
Raul Ochoa
5967c5d1d5
Reorg app.js
9 years ago
Raul Ochoa
2d3f2667ca
Standalone server initial implementation
...
- no dependency over Windshaft.Server
9 years ago
Raul Ochoa
907ed478cf
Tidy app.js
10 years ago
Raul Ochoa
400e51f13a
Removes rollbar as optional logger
10 years ago
Raul Ochoa
a2a09979e4
Remove dump render cache stats
10 years ago
Raul Ochoa
3b4b5ab298
Closes fd for log files on `kill -HUP`. Fixes #230
10 years ago
Raul Ochoa
f72c4f28da
Prepend also the app name
10 years ago
Raul Ochoa
a248fe5c4b
Prepend redis-pool in statsd key for redis-mpool status
10 years ago
Raul Ochoa
804088009e
Report to statsd the status of redis pools
10 years ago
Raul Ochoa
711c1a89ee
Merge branch 'master' into one-redis-mpool
10 years ago
Raul Ochoa
d89b2986fd
Allow to add more node.js' threadpool workers via process.env.UV_THREADPOOL_SIZE
10 years ago
Raul Ochoa
24cbd192aa
Share one redis-mpool across the application
10 years ago
Luis Bosque
2c1d46f159
[CDB-3678] Creates api_hostname global variable
10 years ago
Sandro Santilli
8e9d72982a
Refuse to start if log_filename points to a non-existing directory
...
Closes #189
11 years ago
Raul Ochoa
d2f0180475
Merge remote-tracking branch 'rochoa/master'
11 years ago
Raul Ochoa
4da0b1e07c
CDB-2096 Configures the CWD for log4js logger.
11 years ago
Raul Ochoa
248cb4bd76
Removes unused dependency.
11 years ago
Sandro Santilli
312194228a
Stop duplicating global.environment as global.settings
11 years ago
Sandro Santilli
5c1125900b
Add support for log_filename directive, reopen logfile on SIGHUP
11 years ago
Sandro Santilli
08b8741282
Reload log files on SIGUSR2
...
This is an attempt to play more nicely with logrotate
11 years ago
Sandro Santilli
471edabe4d
Reword uncaught exception error, and log full stack
11 years ago
Sandro Santilli
60b552027b
Add optional support for rollbar
...
Re-targets to 1.10.0
Also installs an uncaught exception handler
Closes #150
11 years ago
Sandro Santilli
62cbb15089
Include tiler version in startup log
11 years ago
Sandro Santilli
ed5b045a15
Allow using NODE_ENV env variable to determine app configuration
...
Default to "development" environment.
Forward NODE_ENV variable to childrens (for example, to hush
millstone).
11 years ago
Sandro Santilli
1c3734fde7
Make server_option a callable function, to reduce globals
...
Updates acceptance test for #152 to not mess wit internals
11 years ago
Sandro Santilli
719346a472
Use log4js logger
...
Closes #138 .
The logger will be automatically used by Windshaft on upgrade
to 0.18.1, see https://github.com/CartoDB/Windshaft/issues/140
11 years ago
Sandro Santilli
0dffb0fe85
We don't use Windshaft directly, no need to require it
11 years ago
Sandro Santilli
0f90d687c7
Implement signed teplate maps
...
Closes #98
Raises minimum required redis version to 2.4.0+ (Debian stable has 2.4.14)
11 years ago
Sandro Santilli
0b3fdb07f6
Drop unneeded include from outermost app
11 years ago
Sandro Santilli
4e7f92c60d
Write a deprecation warning when handling SIGUSR1 ( #71 )
12 years ago
Sandro Santilli
d95ac85b17
Deprecate USR1 signal handling, add USR2 with same semantic
...
Closes #71
12 years ago
Sandro Santilli
031c6ee0cd
Allow "staging" as env name from app.js
12 years ago
Sandro Santilli
e408d04fc5
Require Windshaft 0.8.4 to add dump of cache stats on SIGUSR1
12 years ago
Sandro Santilli
2510a47262
Add maxConnection environment configuration, have it default to 128
...
The number gives the maximum number of contemporary connections and
is dimensioned on the limit of open file descriptors found to be
needed on a per-connection basis.
12 years ago
Sandro Santilli
bb00bf1c05
Use 'host' configuration for HTTP listening (both app and cluster)
12 years ago
Sandro Santilli
da593ded74
Require carto_data only after setting the global env ( closes #28 )
12 years ago
Simon Tokumine
d1226992c3
clean up environment settings
13 years ago
Simon Tokumine
d64647a231
bump logging
13 years ago
javi santana
8474425375
added varnish invalidation code
13 years ago
javi santana
c1ba45cf5a
included LRU cache with redis invalidation
13 years ago
Simon Tokumine
de8508ed57
add map metadata enpoind and move all responsiblity for infowindow and metadata to here
13 years ago
Simon Tokumine
431fb56ad2
windshaft for cartodb
13 years ago