Skip to content

Commit

Permalink
Allow Haraka (or frankly anything else) to exit (#20)
Browse files Browse the repository at this point in the history
* Allow Haraka (or frankly anything else) to exit
* Bump version
  • Loading branch information
baudehlo authored and msimerson committed May 21, 2017
1 parent c75bd5d commit db90144
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.0.12 - 2017-05-21

- unref() the setInterval so that Haraka can gracefully exit

# 1.0.11 - 2017-03-04

Expand Down
1 change: 1 addition & 0 deletions configfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ cfreader.ensure_enoent_timer = function () {
})(fileOuter); // END BLOCK SCOPE
}
}, 60 * 1000);
cfreader._enoent_timer.unref(); // This shouldn't block exit
};

cfreader.get_filetype_reader = function (type) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "haraka-config",
"license": "MIT",
"description": "Haraka's config file loader",
"version": "1.0.11",
"version": "1.0.12",
"homepage": "http://haraka.github.io",
"repository": {
"type": "git",
Expand Down

0 comments on commit db90144

Please sign in to comment.