152 Commits (isekai-main)

Author SHA1 Message Date
Ben Lubar 42fa764608 fix js-propagate for restarted secondary instances (#4874) 9 years ago
Ben Lubar b08696515f Fix restarted secondary instances waiting forever for the templates:compiled message. Fix update notification always appearing when an instance restarts even if there was no update. Closes #4870 (#4871) 9 years ago
Julian Lam 79bcb9be10 fixes #4675 9 years ago
psychobunny a078fd82e7 fix julian's console.log voodoo 9 years ago
psychobunny e2bc5f241a optimizing process.send for js minification 9 years ago
barisusakli 9527ac6255 more fixes to loader 9 years ago
barisusakli c512fed93a one more fix 9 years ago
psychobunny 80b0815d38 @barisusakli last one 9 years ago
barisusakli ca294fc6ec closes #3663 9 years ago
barisusakli a64cbbc6df #3573 9 years ago
Julian Lam 671db1681e allowing usage of "false" in silent and daemon environment variables 10 years ago
Julian Lam 0ff09d8093 changed the behaviour of --no-daemon so that it does not also pipe output to stdout, use new flag --no-silent for that. --no-daemon just does as it advertises, and doesn't daemonize the loader process before spawning app.js instances. 10 years ago
Julian Lam 379bdd12e0 fixed improper parsing of url in loader, and updated mongo init to not send anything in cb except err. Also updated webserver init so that it doesn't expect stuff from static:app.preload 10 years ago
Julian Lam f6ddff3e5f updated loader to kickstart the web installer if no config is found 10 years ago
barisusakli c98e630f24 warn missing url 10 years ago
barisusakli d946a2fcbd closes #3098
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
10 years ago
Julian Lam cb9a300811 closed #2945 10 years ago
barisusakli 936ea5f686 sync config changes over redis pubsub 10 years ago
Julian Lam 3deb423c55 testing socket availability before attempting to bind 10 years ago
Julian Lam 49dcffcbab if worker process exits with code zero, don't boot up a new worker 10 years ago
barisusakli 104fc2d273 10 second timer 10 years ago
barisusakli 9e9b138afb removed unused code 10 years ago
barisusakli e7c2bc5d5d removed unused callback 10 years ago
barisusakli e86650a6af not used anymore 10 years ago
barisusakli 22e20b961e pass all env variables to worker 10 years ago
Julian Lam d14cd254a5 only instantiating logrotate object if silent 10 years ago
barisusakli 16f62e6502 closes #2472 10 years ago
barisusakli d62cdd5127 added support for specifying which ports to use
if no port is specified in config.json port from url will be used if no
port in url then default to 4567

port in config.json can be an array or a single port number
10 years ago
barisusakli f67bc8d056 fix space 10 years ago
barisusakli 64e13df14c removed node cluster spawn procs on ports 10 years ago
barisusakli e49dfc7266 cleaned up loader.js 10 years ago
barisusakli 83a679fc15 fixed wrong var 10 years ago
barisusakli 7a5383748c possible fix for #2492 10 years ago
barisusakli 14a2db4b2e fix workerIndex for ipv6 10 years ago
Julian Lam 5cc30ca1a0 more cache hash fixes 10 years ago
Julian Lam 2e24224449 passing css hash to other workers on startup 10 years ago
Julian Lam 82708d65c6 propagating hash to all workers on css compilation 10 years ago
barisusakli 7332ba9c25 fix loader for new config.json format 10 years ago
barisusakli 17d7916fe9 check if worker exists 10 years ago
barisusakli 2c89d50322 Merge remote-tracking branch 'origin/master' into socket.io1.x 10 years ago
barisusakli 6760ce00cc removed unused msgs 10 years ago
barisusakli c213f77f91 merge 10 years ago
Julian Lam e952a873a8 moving onlineUsers from an in-memory variable to a sorted set 10 years ago
barisusakli 1abe35092b cluster socket.io fixes
close proxy server on loader.stop
changed handles to object
10 years ago
barisusakli 785790c414 moved handle close to fork worker 10 years ago
barisusakli d1fcb50c7d cluster sticky session 10 years ago
Julian Lam 0d6be40238 fixed #2406 10 years ago
Julian Lam 4125a087b5 closed #2349, removed use of deprecated -d flag in executable 10 years ago
Julian Lam 783481e644 Support for reloading nodebb via the nodebb executable 10 years ago
barisusakli bce96d04c7 forkWorker function, pipe new worker output to log 10 years ago
barisusakli 4c8287251a added stderr piping to output 10 years ago
barisusakli 50a06f9369 log signal as well 10 years ago
barisusakli 63cf8d674d listen disconnect event, display unknow socket method name on dev 10 years ago
Julian Lam aac923fb03 fised #2272 10 years ago
psychobunny 8ef4ad6f14 Revert "reverting #2259 temporarily until we figure out why logs aren't showing up"
This reverts commit 59b3e6f78f.
10 years ago
psychobunny 59b3e6f78f reverting #2259 temporarily until we figure out why logs aren't showing up 10 years ago
Julian Lam 62d0e08d6a stopped loader from crashing whenever NodeBB restarts 10 years ago
Julian Lam 97dba9ae39 fixed #2259 10 years ago
psychobunny 94ec07eb73 linting 10 years ago
Julian Lam b7ba6a0d8f fixed #2214 - each individual thread will create its own logrotate write handler, because if one is closed, everything crashes in a cascade effect because we're calling .write() after .end(), bleh. 10 years ago
Julian Lam 4f2603afd1 closed #2185 10 years ago
Julian Lam 343ff18014 closed #2179 10 years ago
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.
10 years ago
Julian Lam 901470ce05 always pipe child output to parent 10 years ago
psychobunny e60d88afa6 cluster by default is now opt-in 10 years ago
psychobunny 101ac701ef removed hardcoded silent flag from cluster setup 10 years ago
psychobunny 32a35164d4 ability to set # of workers to run via config or command line (default = max cpus) 10 years ago
psychobunny 4fd9b58a55 give mongo room to breathe 11 years ago
Julian Lam 7255ce3dbe primary worker support, and added notif pruning to primary worker jobs 11 years ago
Julian Lam 2efb816da3 restarted threads now grab a copy of the minified js and map from the loader 11 years ago
Julian Lam fec3ae7e5e better integration with nodebb executable 11 years ago
barisusakli 0b2df849bd Merge remote-tracking branch 'origin/cluster' into cluster
Conflicts:
	loader.js
11 years ago
barisusakli 98f338b41c online count fixes for cluster 11 years ago
Julian Lam e5a35ce378 js propagation for cluster module, so only 1 thread minifies the js 11 years ago
Julian Lam 08abbe19bc zero downtime and reload support with cluster module 11 years ago
Julian Lam 8a996c4524 changing silent value based on environment variable 11 years ago
Julian Lam 956a431950 properly handling SIGHUP 11 years ago
Julian Lam 8baea1a251 crash timer 11 years ago
barisusakli 20b951b9d9 added back num cpus 11 years ago
barisusakli fdafb72c34 removed getUserSockets for chat
emit to users rooms directly
11 years ago
Julian Lam de41896770 restart handling and crash detection 11 years ago
barisusakli 298f14ad27 removed cluster from app.js 11 years ago
Julian Lam 58a73b52b5 work-in-progress commit to get cluster module working with loader.js 11 years ago
Julian Lam 9ea081deb3 sending 'bind' message to child proc instead of SIGCONT signal, which is not understood by Windows installs 11 years ago
Julian Lam 2bfa7d5b97 closed #2012 11 years ago
Julian Lam 5f68b8f657 passing in all environment variables when forking, #1714 11 years ago
Julian Lam ac9bd0859f fixed #1477 11 years ago
Julian Lam a32fd3f6f9 fixed #1222 11 years ago
Julian Lam a796940064 closed #1421 use --no-daemon flag to... not daemonize. Also, install script can be canceled without throwing errors. 11 years ago
Julian Lam 5b38c3b9ee fixed #1395 11 years ago
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
11 years ago
Julian Lam 74ff579412 added startTimer so that repeated errors on startup don't cause the loader to go into an infinite loop 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
Julian Lam 0a35195fc7 an attempt at addressing loader madness... #1364 11 years ago
Julian Lam 28832a2540 fixing bug where sometimes a pidfile was left over, and nodebb would refuse to start a daemon again. 11 years ago
Julian Lam 20b5d577dd ability to restart nodebb via executable 11 years ago
Julian Lam 5b301772bb added daemon capability to ./nodebb start, npm start/stop scripts 11 years ago
Julian Lam 7b46d66e68 having the loader play nicely with supervisor -- ./nodebb watch can now hit the restart button 11 years ago
Julian Lam 2baa381917 plugins and themes now trigger a restart 11 years ago
Julian Lam b64e5870b7 loader now handles arguments and ./nodebb watch command updated to not use loader. 11 years ago