Fixes unwatchOnRelease
redis config
This commit is contained in:
parent
bf24347328
commit
0da6495330
3
NEWS.md
3
NEWS.md
@ -10,6 +10,9 @@ Announcements:
|
|||||||
New features:
|
New features:
|
||||||
- Exposes redis `noReadyCheck` config
|
- Exposes redis `noReadyCheck` config
|
||||||
|
|
||||||
|
Bug fixes:
|
||||||
|
- Fixes `unwatchOnRelease` redis config
|
||||||
|
|
||||||
|
|
||||||
## 2.6.1
|
## 2.6.1
|
||||||
|
|
||||||
|
2
app.js
2
app.js
@ -65,7 +65,7 @@ if ( global.environment.log_filename ) {
|
|||||||
global.log4js.configure(log4js_config, { cwd: __dirname });
|
global.log4js.configure(log4js_config, { cwd: __dirname });
|
||||||
global.logger = global.log4js.getLogger();
|
global.logger = global.log4js.getLogger();
|
||||||
|
|
||||||
var redisOpts = _.extend(global.environment.redis, { name: 'windshaft', noReadyCheck: true }),
|
var redisOpts = _.extend(global.environment.redis, { name: 'windshaft', unwatchOnRelease: false, noReadyCheck: true }),
|
||||||
redisPool = new RedisPool(redisOpts);
|
redisPool = new RedisPool(redisOpts);
|
||||||
|
|
||||||
// Include cartodb_windshaft only _after_ the "global" variable is set
|
// Include cartodb_windshaft only _after_ the "global" variable is set
|
||||||
|
Loading…
Reference in New Issue
Block a user