Go to Latest
variable schedulingPolicy
import { schedulingPolicy } from "https://dotland.deno.dev/std@0.177.0/node/cluster.ts";

The scheduling policy, either cluster.SCHED_RR for round-robin or cluster.SCHED_NONE to leave it to the operating system. This is a global setting and effectively frozen once either the first worker is spawned, or .setupPrimary() is called, whichever comes first.