Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
stowns committed Apr 7, 2014
1 parent f0f68aa commit abc60e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fb.js
Expand Up @@ -227,7 +227,8 @@
, key
, value
, requestOptions
, isOAuthRequest;
, isOAuthRequest
, pool;

cb = cb || function() {};
if(!params.access_token && options('accessToken')) {
Expand Down Expand Up @@ -277,7 +278,7 @@
uri = uri.substring(0, uri.length -1);
};

var pool = { maxSockets : Number(process.env.MAX_SOCKETS) || 5 };
pool = { maxSockets : Number(process.env.MAX_SOCKETS) || 5 };
requestOptions = {
method: method
, uri: uri
Expand Down

0 comments on commit abc60e6

Please sign in to comment.