Skip to content

Commit

Permalink
PROBLEM-3623 limit page size to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
MickStanciu committed Oct 17, 2024
1 parent 8883774 commit b06741b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/internal/feed/feed_action_assignees.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ type ActionAssignee struct {
type ActionAssigneeFeed struct {
ModifiedAfter time.Time
Incremental bool
Limit int
}

// Name is the name of the feed
Expand Down Expand Up @@ -150,6 +151,7 @@ func (f *ActionAssigneeFeed) Export(ctx context.Context, apiClient *httpapi.Clie
InitialURL: "/feed/action_assignees",
Params: GetFeedParams{
ModifiedAfter: f.ModifiedAfter,
Limit: f.Limit,
},
}

Expand Down
1 change: 1 addition & 0 deletions pkg/internal/feed/feed_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ func (e *ExporterFeedClient) GetFeeds() []Feed {
&ActionAssigneeFeed{
ModifiedAfter: e.configuration.ExportModifiedAfterTime,
Incremental: e.configuration.ExportIncremental,
Limit: e.configuration.ExportActionLimit,
},
&ActionTimelineItemFeed{
ModifiedAfter: e.configuration.ExportModifiedAfterTime,
Expand Down

0 comments on commit b06741b

Please sign in to comment.