Permalink
Browse files

changed async function to using nextTick instead of setTimeout

  • Loading branch information...
kbjr committed Feb 22, 2012
1 parent e914a4f commit 67453a77d46077949fe522340a0843e57aebd3b5
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/sechash.js
  2. +1 −1 package.json
View
@@ -119,7 +119,7 @@ module.exports = (function() {
}
// Continue after a short while if there is more left
if (count > 0) {
- setTimeout(runHashingLoop, 3);
+ process.nextTick(runHashingLoop);
}
// Otherwise, finish up
else {
View
@@ -2,7 +2,7 @@
"author": "James Brumond <kbjr14@gmail.com> (http://jbrumond.me)",
"name": "sechash",
"description": "Secure password hashing with salt and key stretching",
- "version": "0.1.2",
+ "version": "0.1.3",
"repository": {
"type": "git",
"url": "git://github.com/kbjr/node-sechash.git"

0 comments on commit 67453a7

Please sign in to comment.