interagent / pliny

An opinionated toolkit for writing excellent APIs in Ruby.
MIT License
802 stars 73 forks source link

Upgrade rack-timeout #262

Closed gudmundur closed 8 years ago

gudmundur commented 8 years ago

Upgrades to Rack::Timeout v0.4 by request of @kch. The new version uses an initializer for setting the default timeout as well as using monotonic time.

dmathieu commented 8 years ago

:+1:

brandur commented 8 years ago

Love it! +1.

On Monday, April 18, 2016, Damien Mathieu notifications@github.com wrote:

[image: :+1:]

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/interagent/pliny/pull/262#issuecomment-211298614

schneems commented 7 years ago

I'm getting a failure

ArgumentError: comparison of String with 0 failed

Is there some way to specify that this should be an integer in the config?

Here's my config:


  override \
    db_pool:          5,
    timeout:          45,
``