Skip to main content
Go to Latest
variable schedulingPolicy
import { schedulingPolicy } from "https://deno.land/std@0.145.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.