TwitchPlugin.QueryConstants

Constants used when scheduling API queries.

Values

ValueMeaning
growthMultiplier1.1

The multiplier of how much the query time should temporarily increase when it turned out to be a bit short.

retryTimeDivisor3

The divisor of how much to wait before retrying a query, after the timed waited turned out to be a bit short.

measurementPadding30

By how many milliseconds to pad measurements of how long a query took to be on the conservative side.

averagingWeight3

The weight to assign the current approximate query time before making a weighted average based on a new value. This gives the averaging some inertia.