Skip to main content

Interface: IPollerScalingDecision

taskqueue.v1.IPollerScalingDecision

Properties of a PollerScalingDecision.

Implemented by

Properties

pollRequestDeltaSuggestion

Optional pollRequestDeltaSuggestion: null | number

How many poll requests to suggest should be added or removed, if any. As of now, server only scales up or down by 1. However, SDKs should allow for other values (while staying within defined min/max).

The SDK is free to ignore this suggestion, EX: making more polls would not make sense because all slots are already occupied.