You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/05/24 12:58:00 UTC

[jira] [Commented] (CAMEL-18177) camel-slack - Honour Retry-After when requests are rate-limited

    [ https://issues.apache.org/jira/browse/CAMEL-18177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725787#comment-17725787 ] 

Claus Ibsen commented on CAMEL-18177:
-------------------------------------

Okay I am changing the default delay from 0.5s to 10s that should help this out of the box.

> camel-slack - Honour Retry-After when requests are rate-limited
> ---------------------------------------------------------------
>
>                 Key: CAMEL-18177
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18177
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-slack
>            Reporter: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 3.21.0
>
>
> According to slack's doc:
> {code}
> If you exceed a rate limit when using any of our HTTP-based APIs (including Incoming Webhooks), Slack will return a HTTP 429 Too Many Requests error, and a Retry-After HTTP header containing the number of seconds until you can retry.
> {code}
> We should explore if we can honor the  Retry-After seconds to perform the next poll.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)