-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase users.list page size (or make it configurable) #557
Comments
Hi @iancward, I see how |
Maybe set it to |
@aoberoi I have been having the same issue for a while, but however after increasing the PAGESIZE value the bots works for fine for couple days then suddenly go offline for couple of hours that makes our support system completely offline. we have almost around 8K users in slack. what would be the best value for the PAGESIZE variable. i tried 400, 600, 800 and 1000 as well but encountered same problem. current config value we are using is 1000 |
If someone is interested in making a pull request on this, I'm happy to review and ship the change in forthcoming releases. |
PR to make PAGE_SIZE configurable #612 |
Fixed by #612 |
Description
Describe your issue here.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Enhancement
When the service fires up, it attempts to retrieve the entire list of users from Slack. In large workspaces, that can take a very long time, often slowing the bot down in the process.
Currently, this code hard-codes the page size limit to
100
(see code); however, the API documentation recommends200
and the value can be up to1000
.Please increase the default to
200
and ideally also provide a way to make this configurable to the end-user.The text was updated successfully, but these errors were encountered: