Module: Lemans::Environments::Daytona::SdkTweaks::Deadline

Defined in:
lib/lemans/environments/daytona/sdk_tweaks.rb

Overview

The clients default to timeout=0, libcurl's "never time out"; a dropped connection then parks a thread no Thread#kill reclaims. Only that 0 is replaced; explicit config wins.

Instance Method Summary collapse

Instance Method Details

#timeoutObject



24
25
26
27
# File 'lib/lemans/environments/daytona/sdk_tweaks.rb', line 24

def timeout
  value = super
  value&.zero? ? HTTP_TIMEOUT_SEC : value
end