Permalink
Browse files

Release v0.0.28

  • Loading branch information...
1 parent 33ff9d8 commit e5f83ff273f94031df231c33938932b12d7b89a6 @pgte committed Oct 11, 2010
Showing with 10 additions and 4 deletions.
  1. +4 −0 ChangeLog
  2. +5 −3 lib/fugue.js
  3. +1 −1 package.json
View
4 ChangeLog
@@ -1,3 +1,7 @@
+2010.10.11 v0.0.28
+
+* fixed a racing condition while shutting down the workers
+
2010.10.11 v0.0.27
* fixed a possible racing condition for access to master pid file when respawning
View
8 lib/fugue.js
@@ -369,9 +369,11 @@ exports.start = function(server, port, host, worker_count, options) {
})
});
ping_connection.on('error', function(error) {
- log('ping error to server: '+error);
- log('going to shutdown because of it');
- worker_killer();
+ if(!die_soon) {
+ log('ping error to server: '+error);
+ log('going to shutdown because of it');
+ worker_killer();
+ }
});
}, options.worker_to_master_ping_interval);
View
2 package.json
@@ -1,6 +1,6 @@
{ "name" : "fugue"
, "description" : "Unicorn for node for node"
-, "version" : "0.0.27"
+, "version" : "0.0.28"
, "homepage" : "http://www.metaduck.com/fugue"
, "author" : "Pedro Teixeira <pedro.teixeira@gmail.com> (http://www.metaduck.com)"
, "contributors" :

0 comments on commit e5f83ff

Please sign in to comment.