Skip to content

Commit 9301803

Browse files
revert this: don't make httpx retry the request
1 parent ea67f66 commit 9301803

File tree

1 file changed

+0
-1
lines changed
  • react_on_rails_pro/lib/react_on_rails_pro

1 file changed

+0
-1
lines changed

react_on_rails_pro/lib/react_on_rails_pro/request.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ def create_connection
227227
# For persistent connections we want retries,
228228
# so the requests don't just fail if the other side closes the connection
229229
# https://honeyryderchuck.gitlab.io/httpx/wiki/Persistent
230-
.plugin(:retries, max_retries: 1, retry_change_requests: true)
231230
.plugin(:stream)
232231
# See https://www.rubydoc.info/gems/httpx/1.3.3/HTTPX%2FOptions:initialize for the available options
233232
.with(

0 commit comments

Comments
 (0)