Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AutoscalingSettings

import type { AutoscalingSettings } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";

Settings for WorkerPool autoscaling.

interface AutoscalingSettings {
algorithm?: "AUTOSCALING_ALGORITHM_UNKNOWN" | "AUTOSCALING_ALGORITHM_NONE" | "AUTOSCALING_ALGORITHM_BASIC";
maxNumWorkers?: number;
}

§Properties

§
algorithm?: "AUTOSCALING_ALGORITHM_UNKNOWN" | "AUTOSCALING_ALGORITHM_NONE" | "AUTOSCALING_ALGORITHM_BASIC"
[src]

The algorithm to use for autoscaling.

§
maxNumWorkers?: number
[src]

The maximum number of workers to cap scaling at.