Skip to content

Commit

Permalink
Fix for sunos bug with settimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
christkv committed Oct 1, 2012
1 parent aa5e49f commit e577d02
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 177 deletions.
2 changes: 1 addition & 1 deletion lib/mongodb/connection/connection.js
Expand Up @@ -12,7 +12,7 @@ var Connection = exports.Connection = function(id, socketOptions) {
// Store all socket options
this.socketOptions = socketOptions ? socketOptions : {host:'localhost', port:27017, domainSocket:false};
// Set keep alive default if not overriden
if(!this.socketOptions.keepAlive) this.socketOptions.keepAlive = 100;
if(!this.socketOptions.keepAlive && process.platform !== "sunos") this.socketOptions.keepAlive = 100;
// Id for the connection
this.id = id;
// State of the connection
Expand Down
163 changes: 0 additions & 163 deletions test/tools/rcover.js

This file was deleted.

12 changes: 0 additions & 12 deletions test/tools/templates/file_results.jade

This file was deleted.

1 change: 0 additions & 1 deletion test/tools/templates/index.jade

This file was deleted.

0 comments on commit e577d02

Please sign in to comment.