Commit Graph

140 Commits

Author SHA1 Message Date
barisusakli
9c996e4b99 on config save update meta.config on all workers
also dont make 20 socket.emit calls for each setting field, everything
will be send in 1 socket call.
2014-09-29 16:35:13 -04:00
Julian Lam
901470ce05 always pipe child output to parent 2014-09-23 13:44:32 -04:00
psychobunny
e60d88afa6 cluster by default is now opt-in 2014-09-16 11:17:57 -04:00
psychobunny
101ac701ef removed hardcoded silent flag from cluster setup 2014-09-16 11:11:25 -04:00
psychobunny
32a35164d4 ability to set # of workers to run via config or command line (default = max cpus) 2014-09-16 11:08:38 -04:00
psychobunny
4fd9b58a55 give mongo room to breathe 2014-09-06 02:22:20 -04:00
Julian Lam
7255ce3dbe primary worker support, and added notif pruning to primary worker jobs 2014-09-05 13:44:56 -04:00
Julian Lam
2efb816da3 restarted threads now grab a copy of the minified js and map from the loader 2014-09-05 13:23:30 -04:00
Julian Lam
fec3ae7e5e better integration with nodebb executable 2014-09-04 17:48:33 -04:00
barisusakli
0b2df849bd Merge remote-tracking branch 'origin/cluster' into cluster
Conflicts:
	loader.js
2014-09-04 17:43:44 -04:00
barisusakli
98f338b41c online count fixes for cluster 2014-09-04 17:41:00 -04:00
Julian Lam
e5a35ce378 js propagation for cluster module, so only 1 thread minifies the js 2014-09-04 17:39:53 -04:00
Julian Lam
08abbe19bc zero downtime and reload support with cluster module 2014-09-04 17:09:57 -04:00
Julian Lam
8a996c4524 changing silent value based on environment variable 2014-09-04 15:13:16 -04:00
Julian Lam
956a431950 properly handling SIGHUP 2014-09-04 00:56:50 -04:00
Julian Lam
8baea1a251 crash timer 2014-09-04 00:01:08 -04:00
barisusakli
20b951b9d9 added back num cpus 2014-09-03 17:23:47 -04:00
barisusakli
fdafb72c34 removed getUserSockets for chat
emit to users rooms directly
2014-09-03 17:22:29 -04:00
Julian Lam
de41896770 restart handling and crash detection 2014-09-03 15:24:47 -04:00
barisusakli
298f14ad27 removed cluster from app.js 2014-09-03 12:31:37 -04:00
Julian Lam
58a73b52b5 work-in-progress commit to get cluster module working with loader.js 2014-09-03 01:24:26 -04:00
Julian Lam
9ea081deb3 sending 'bind' message to child proc instead of SIGCONT signal, which is not understood by Windows installs 2014-08-31 16:13:05 -04:00
Julian Lam
2bfa7d5b97 closed #2012 2014-08-25 11:57:35 -04:00
Julian Lam
5f68b8f657 passing in all environment variables when forking, #1714 2014-07-09 15:49:04 -04:00
Julian Lam
ac9bd0859f fixed #1477 2014-05-04 16:47:21 -04:00
Julian Lam
a32fd3f6f9 fixed #1222 2014-04-27 13:32:58 -04:00
Julian Lam
a796940064 closed #1421 use --no-daemon flag to... not daemonize. Also, install script can be canceled without throwing errors. 2014-04-23 08:54:31 -04:00
Julian Lam
5b38c3b9ee fixed #1395 2014-04-17 13:04:46 -04:00
psychobunny
e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
2014-04-14 17:36:10 -04:00
Julian Lam
74ff579412 added startTimer so that repeated errors on startup don't cause the loader to go into an infinite loop 2014-04-10 17:08:34 -04:00
Micheil Smith
3e82cab398 Add missing new lines at end of files. 2014-04-10 20:56:53 +01:00
Julian Lam
0a35195fc7 an attempt at addressing loader madness... #1364 2014-04-09 13:10:28 -04:00
Julian Lam
28832a2540 fixing bug where sometimes a pidfile was left over, and nodebb would refuse to start a daemon again. 2014-03-02 20:37:57 -05:00
Julian Lam
20b5d577dd ability to restart nodebb via executable 2014-02-27 20:36:04 -05:00
Julian Lam
5b301772bb added daemon capability to ./nodebb start, npm start/stop scripts 2014-02-27 10:06:31 -05:00
Julian Lam
7b46d66e68 having the loader play nicely with supervisor -- ./nodebb watch can now hit the restart button 2014-02-26 13:42:39 -05:00
Julian Lam
2baa381917 plugins and themes now trigger a restart 2014-02-23 23:08:54 -05:00
Julian Lam
b64e5870b7 loader now handles arguments and ./nodebb watch command updated to not use loader. 2014-02-22 03:01:54 -05:00
Julian Lam
d6a1fad527 removing timeout before restarting nodebb, fixing nodebb executable 2014-02-22 02:36:56 -05:00
Julian Lam
64c4dd7e63 communication between loader and child 2014-02-22 02:27:14 -05:00