Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/gen/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,10 @@ export interface ActivitySelectorConfig {
* Maximum number of candidate activities this selector contributes to a ranked feed (1-1000). Omit to use the default ranking buffer. Only supported on the popular, proximity, interest and query selectors, and ignored on feeds without ranking
*/
ranking_candidate_limit?: number;
/**
* Maximum time in milliseconds this selector may take (25-5000). A selector that runs over its budget is dropped from that read instead of failing it, and stays out for the rest of that pagination session. The budget can only tighten the default, never extend it. Omit to use the default. Only supported on the popular, proximity, interest, query and follow_suggestion selectors
*/
time_budget_ms?: number;
/**
* Sort parameters for activity selection
*/
Expand Down Expand Up @@ -949,6 +953,10 @@ export interface ActivitySelectorConfigResponse {
* Maximum number of candidate activities this selector contributes to a ranked feed
*/
ranking_candidate_limit?: number;
/**
* Maximum time in milliseconds this selector may take before it is dropped from the read
*/
time_budget_ms?: number;
/**
* Sort parameters for activity selection
*/
Expand Down Expand Up @@ -10896,6 +10904,10 @@ export interface GetOrCreateFeedResponse {
feed: FeedResponse;
next?: string;
prev?: string;
/**
* Activity selectors dropped from this read because they exceeded their time budget (see the time_budget_ms selector setting). Their activities are missing from this page, and they stay out for the rest of this pagination session. Omitted when every selector completed
*/
degraded_selectors?: Array<string>;
followers_pagination?: PagerResponse;
following_pagination?: PagerResponse;
member_pagination?: PagerResponse;
Expand Down
Loading