Calls the require function in each node of the cluster.

clusterRequire(cluster, package)

Arguments

cluster

The cluster object.

package

The name of the package to load in all nodes.