Set X-Slack-No-Retry header during Slack timeout
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by tracing how the Ruby webclient builds and sends Slack Web API requests, then inspect where its configuration and timeout handling are defined. Confirm whether the X-Slack-No-Retry: 1 header can be configured and verify that the resulting request prevents retries after an HTTP timeout.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When using the webclient through AWS API gateway, there are often delays which cause slack to return "X-Slack-Retry-Reason"=>"http_timeout" even though the POST has been made successfully (the bot writes to slack).
Is there a way to set the X-Slack-No-Retry: 1 on the webclient config in order to prevent the bot attempting the same call multiple times even though successful?
- Lingua principale
- Ruby
- Stelle
- 1.3k
- Fork
- 222
- Merge medio
- 1g 14h
- PR unite (30g)
- 3
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di slack-ruby/slack-ruby-client
-
new feature question
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
slack-ruby/slack-ruby-client#586 · 3 commenti ·
-
bug?
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
slack-ruby/slack-ruby-client#579 · 3 commenti ·
-
new feature web api
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
slack-ruby/slack-ruby-client#482 · 5 commenti ·
-
new feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
slack-ruby/slack-ruby-client#414 · 14 commenti ·
-
confirmed bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
slack-ruby/slack-ruby-client#409 · 5 commenti ·
Tutte le issue di slack-ruby/slack-ruby-client
Issue simili
-
user-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Kong/developer.konghq.com#7316 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
TheOdinProject/curriculum#31408 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
CI: json 3.0.2 removed `quirks_mode`, breaking ActiveSupport's JSON encoder on every test job Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
bensheldon/good_job#1816 · 5 commenti ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
notch8/utk_knapsack#148 ·