Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
call unref(). Addresses #8
Browse files Browse the repository at this point in the history
  • Loading branch information
jkodumal committed May 8, 2015
1 parent c76523d commit 30f8386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ var new_client = function(api_key, config) {

}

setInterval(client.flush.bind(client), client.flush_interval * 1000);
setInterval(client.flush.bind(client), client.flush_interval * 1000).unref();

return client;
};
Expand Down

0 comments on commit 30f8386

Please sign in to comment.