aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2024-03-28 23:43:50 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-03-29 00:00:15 +0100
commit0b5069e600b6fbe72affed97f0b36ef923ba4072 (patch)
treef47eba1ab153648e6e24749bc89fb8dfb27286bb /.github
parentec503d0935cbc171fbe7762a83c36a0e1160efa7 (diff)
downloadwee-slack-0b5069e600b6fbe72affed97f0b36ef923ba4072.tar.gz
Retry fetching users with fewer users on errors
Apparently it varies how many users can be fetched in one request with the users.info method. I have had successful requests with 4096 users, while some people have reported getting HTTP 500 when fetching 1000 users and one person got an error response with error `too_many_users` when fetching 500 users. So when we get either of those errors, reduce the number of users we fetch in one request and try again until it works or the number of users has been reduced to 1. Fixes #924
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions