0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/lib/internal/cluster
Yash Ladha 023bcdeb28
lib: refactored scheduling policy assignment
In previous implementation it was clubbed into declaration of scheduling
policies and fetching the schedulingPolicy. Now they are separate
variables, so that in future if one want to add new scheduling policy.
It is much simpler and not obsfucated.

PR-URL: https://github.com/nodejs/node/pull/32663
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2020-05-09 07:50:11 +02:00
..
child.js cluster: fix error on worker disconnect/destroy 2020-04-28 19:20:53 +02:00
master.js lib: refactored scheduling policy assignment 2020-05-09 07:50:11 +02:00
round_robin_handle.js cluster: removed unused addressType argument from constructor 2020-04-27 19:32:49 +02:00
shared_handle.js cluster: removed unused addressType argument from constructor 2020-04-27 19:32:49 +02:00
utils.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
worker.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00