Skip to content

Commit

Permalink
Increase batch size for conversation.list api method (slack) (#1700)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Zuev <i-zuev@yandex-team.ru>
  • Loading branch information
DavyJohnes and Ivan Zuev authored Jan 28, 2022
1 parent 5a1fd7d commit 6a7412b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bridge/slack/users_channels.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ func (b *channels) populateChannels(wait bool) {
queryParams := &slack.GetConversationsParameters{
ExcludeArchived: true,
Types: []string{"public_channel,private_channel"},
Limit: 1000,
}
for {
channels, nextCursor, err := b.sc.GetConversations(queryParams)
Expand Down

0 comments on commit 6a7412b

Please sign in to comment.