Closed softwaregravy closed 12 years ago
I'll add #shutdown to the example, but I'm going to change the wording since it should not be necessary in normal operation, instead the #idle_timeout setting should be reduced to just below the amount of time the server will keep the connection open to prevent "too many connection resets".
See also (upcoming) comment in #19
Sure thing. Thanks again.
PS my use case was that I was doing this in batches -- rake tasks in delayed job, mostly with 1 worker. So all my batches would have been run on the same thread.
reference: https://github.com/drbrain/net-http-persistent/issues/19