Skip to content

Commit d6a9899

Browse files
committed
[CLIENT] Make Typhoeus work out of the box
1 parent 8f9f6a7 commit d6a9899

File tree

1 file changed

+1
-0
lines changed
  • elasticsearch-transport/lib/elasticsearch/transport

1 file changed

+1
-0
lines changed

elasticsearch-transport/lib/elasticsearch/transport/client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def __auto_detect_adapter
174174
when defined?(::Patron)
175175
:patron
176176
when defined?(::Typhoeus)
177+
require "typhoeus/adapters/faraday"
177178
:typhoeus
178179
when defined?(::HTTPClient)
179180
:httpclient

0 commit comments

Comments
 (0)