Skip to content

Commit

Permalink
Merge branch 'master' into alexcrichton-master
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jun 1, 2011
2 parents 2c73a94 + 8de33e0 commit 7a1ad7b
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 86 deletions.
32 changes: 8 additions & 24 deletions lib/client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 6 additions & 14 deletions lib/pool.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 20 additions & 32 deletions lib/process.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 3 additions & 15 deletions lib/server.js
Expand Up @@ -4,21 +4,9 @@
createPool = require('./pool').createPool;
exports.createServer = function(config, options) {
var pool, server, _ref, _ref2;
if (options != null) {
options;
} else {
options = {};
};
if ((_ref = options.size) != null) {
_ref;
} else {
options.size = 3;
};
if ((_ref2 = options.idle) != null) {
_ref2;
} else {
options.idle = 15 * 60 * 1000;
};
options != null ? options : options = {};
(_ref = options.size) != null ? _ref : options.size = 3;
(_ref2 = options.idle) != null ? _ref2 : options.idle = 15 * 60 * 1000;
pool = createPool(config, options);
server = createServer(pool.proxy);
server.on('close', function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a1ad7b

Please sign in to comment.