From 6a7412bf2bce500cdf5a34cd06abe426376136d3 Mon Sep 17 00:00:00 2001 From: Ivan Zuev Date: Sat, 29 Jan 2022 02:13:15 +0300 Subject: Increase batch size for conversation.list api method (slack) (#1700) Co-authored-by: Ivan Zuev --- bridge/slack/users_channels.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bridge/slack/users_channels.go b/bridge/slack/users_channels.go index 9b34b779..85b944bd 100644 --- a/bridge/slack/users_channels.go +++ b/bridge/slack/users_channels.go @@ -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) -- cgit v1.2.3