Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3888

Handle Slack rate limiting

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 5.5.9
    • Fix Version/s: None
    • Component/s: Listeners, Third-Party Apps
    • Labels:
      None
    • Critical Points:
      0.8

      Description

      The 'Post a message to a chat service' listener uses Slack's conversations.list endpoint to get every place that a message could be posted to. We use cursoring as recommended to get 100 conversations per request, but the endpoint is rate-limited to around 20 requests per minute. Thus Slack instances with more than about 2000 conversations will result in us receiving a 429 Too Many Requests error: we should handle these by backing off in accordance with the Retry-After parameter of the response.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jchoules Joanna Choules
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: