Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev Guide
Dev GuideUser GuidesGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

ChannelRateLimit

OCP App SDK


OCP App SDK / ChannelRateLimit

Interface: ChannelRateLimit

Defined in: src/app/types/AppManifest.ts:136

Defines a rate limit for channel delivery in to form of per
where unit is second, minute, hour, day, or of seconds.
E.g., count: 100, period: 15, unit: second => 100 per 15 seconds

Properties

count

count: number

Defined in: src/app/types/AppManifest.ts:140

The number of delivery requests (batches) per period of time


grouping

grouping: "app" | "install"

Defined in: src/app/types/AppManifest.ts:152

Whether this rate limit applies to the app as a whole or per each install


period

period: number

Defined in: src/app/types/AppManifest.ts:144

The number of units of time to measure the rate limit over


unit

unit: "second" | "minute" | "hour" | "day"

Defined in: src/app/types/AppManifest.ts:148

The unit of time applied to the perioid