]> cat aescling's git repositories - mastodon.git/commit
Fix streaming server worker count (#2082)
authorkuro5hin <rusty@kuro5hin.org>
Tue, 18 Apr 2017 13:58:22 +0000 (09:58 -0400)
committerEugen <eugen@zeonfederated.com>
Tue, 18 Apr 2017 13:58:22 +0000 (15:58 +0200)
commit0790aa91659cb6f839649d59e8ef65375dfff5eb
tree3d6afb621c3e19088404d23ad33c698fe6f22cc7
parente2a1b574ab4ec5dd07dbc5c317bcc3718f13c19b
Fix streaming server worker count (#2082)

* Make sure we start at least one streaming worker, even if there's only one CPU and we're in production mode.

* Oops, let's make sure we're counting cpus right too.
streaming/index.js