- Fixed
user
/group
options. Closes #60 - Fixed; abort on many immediate worker deaths within boot
- Fixed
cli()
exit when working withreload()
(or anything else keeping the event loop active)
- Added cyclic restart timeouts. Closes #23
- Remove master SIGHUP as restart
- Added
worker removed
event - Added
spawn(-n, signal)
support defaulting to SIGQUIT - Added
spawn(-n)
support. Closes #46
- Added CLUSTER_WORKER_ env var with the workers id
- Fixed bug when using
cluster(filename)
, previously still requiring for master
- Added
cluster(filename)
support. Closes #45 This is highly recommended, view the API docs on the site for more info.
- Added "worker exception" event. Closes #41
- Added
listen()
host dns resolution. Closes #35 - Added
pidfiles()
helpermaster.pidof(name)
- Added;
reload()
ignoring node_modules and similar dirs. Closes #31 - Fixed master PPID reference. Closes #38
- Fixed restart SIGQUIT default
- Fixed; using
-g
for graceful shutdown instead of duplicate-s
. Closes #39
-
Added
Master#preventDefault
support to cleancli()
. Plugins can now tell master to "prevent its default behaviour", aka listening for connections. -
Fixed bug preventing consistent envs. Closes #37 [reported by sambarnes] This caused
require.paths
to be altered. -
Fixed; throw
pidfiles()
related errors, instead of ignoring
- Fixed
reload()
plugin; protect against cyclic restarts.
- Added SIGCHLD trap to notify master of killed worker. This means that master can now recover a child that is __KILL__ed.
- Removed
Master#workerKilled()
call from worker
- Added
Master#do()
- Added; maintaining worker count on SIGCHLD. Closes #28
- Added; defaulting
reload()
to the servers root dir - Changed;
reload()
filtering out non-js files. Closes #30 - Removed SIGHUP trap from worker
-
Added vhost example
-
Added restarts stat
-
Added
'all'
env support,in('all')
executing regardless of the environment. Useful whenlisten()
ing on the same port regardless. -
Changed;
working directory
setting defaulting to the script directory (POLS)
-
Added TCP echo server example
-
Added REPL
shutdown()
function -
Added REPL
stop()
function -
Added master spawning strategy On restart, master now spawns a new master to accept connections while the previous works (and master) finish and die off.
-
Added
Master#in()
for environment based usage. Closes #22 For example: cluster(server) .in('development') .use(cluster.debug()) .use(cluster.repl()) .listen(3000) .in('production') .use(cluster.logger()) .listen(80); -
Fixed some test race-conditions
-
Fixed event leak. Closes #18
- Fixed
stats()
/repl()
breakage when used with 0.2.x due to os mod. Closes #16 - Changed; close REPL connections on shutdown
- Added log dependency to package.json. Closes #14
- Fixed
process.setuid()
typo
- Initial commit