Class: Attune::NetHttpPersistent
- Inherits:
-
Faraday::Adapter::NetHttpPersistent
- Object
- Faraday::Adapter::NetHttpPersistent
- Attune::NetHttpPersistent
- Defined in:
- lib/attune/net_http_persistent.rb
Instance Method Summary collapse
Instance Method Details
#net_http_connection(env) ⇒ Object
8 9 10 11 12 |
# File 'lib/attune/net_http_persistent.rb', line 8 def net_http_connection(env) adapter = super adapter.idle_timeout = 58 # seconds adapter end |