Skip to content

Commit

Permalink
Merge cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Bakken committed Nov 18, 2015
1 parent 0221b27 commit 5995ad1
Show file tree
Hide file tree
Showing 5 changed files with 988 additions and 90 deletions.
12 changes: 11 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,17 @@ module.exports = function(grunt) {
clearRequireCache: false,
colors: false
},
src: ['test/integration/**/*.js']
src: ['test/integration/core/*.js', 'test/integration/crdt/*.js', 'test/integration/kv/*.js', 'test/integration/mapreduce/*.js', 'test/integration/yokozuna/*.js']
},
timeseries: {
options: {
reporter: 'spec',
captureFile: 'integration-test-results.txt',
quiet: false,
clearRequireCache: false,
colors: false
},
src: ['test/integration/ts/*.js']
},
security: {
options: {
Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

'use strict';

module.exports = require('./lib/client');
1 change: 0 additions & 1 deletion lib/commands/crdt/updateset.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ var SetOp = rpb.getProtoFor('SetOp');
*/
function UpdateSet(options, callback) {
CommandBase.call(this, 'DtUpdateReq', 'DtUpdateResp', callback);

var self = this;
Joi.validate(options, schema, function(err, options) {
if (err) {
Expand Down
4 changes: 2 additions & 2 deletions lib/core/riaknode.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ RiakNode.prototype.start = function(callback) {

// Fire up connection pool
var funcs = [];
for (i = 0; i < this.minConnections; i++) {
for (var i = 0; i < this.minConnections; i++) {
funcs.push(makeNewConnectionFunc(this));
}

Expand Down Expand Up @@ -433,7 +433,7 @@ var State = Object.freeze({ CREATED : 0,
var defaultRemoteAddress = "127.0.0.1";
var defaultRemotePort = 8087;
var defaultMinConnections = 1;
var defaultMaxConnections = 10000; // magic number but close enough
var defaultMaxConnections = 128;
var defaultIdleTimeout = 3000;
var defaultConnectionTimeout = 0;
var defaultHealthCheck = new Ping(function (){});
Expand Down
Loading

0 comments on commit 5995ad1

Please sign in to comment.