Disable To use retry middleware with Faraday v2.0+, install faraday-retry gem
message
#1486
Answered
by
timrogers
ShockwaveNN
asked this question in
Q&A
Replies: 3 comments 4 replies
-
Hey, @ShockwaveNN
Yet, if it suits you, you can turn off octokit warnings by setting the ENV |
Beta Was this translation helpful? Give feedback.
3 replies
-
If you add `faraday-retry` as a dependency, you’ll get automated retries for failures and the warning will go away.
It isn’t a default dependency for Octokit because we allow users to use an earlier version of Faraday where the retry middleware is included automatically.
It definitely would be possible to introduce a change here to make retries optional, but I had a quick look and it isn’t a trivial code change.
From: Pavel Lobashov ***@***.***>
Date: Tuesday, 20 September 2022 at 07:58
To: octokit/octokit.rb ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [octokit/octokit.rb] Disable `To use retry middleware with Faraday v2.0+, install faraday-retry gem` message (Discussion #1486)
So more robust soltuion will be adding faraday-retry as additional dependency?
is there some discussion why it's not octokit forced dependency by default?
—
Reply to this email directly, view it on GitHub<#1486 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAA4LJSVZ2SZY44EK6GFCDLV7GRHBANCNFSM6AAAAAAQNNDGCE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ShockwaveNN
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Quite frankly I don't fully understand what this message means
All I know what my app works fine without
faraday-retry
gemBut also show a warning when applications start (which bugs me a little)
I didn't find any info in readme which profits will be if I use
faraday-retry
and if there is none - any way to disable this messageBeta Was this translation helpful? Give feedback.
All reactions