class Puma::Client

def timeout

Number of seconds until the timeout elapses.
def timeout
  [@timeout_at - Process.clock_gettime(Process::CLOCK_MONOTONIC), 0].max
end