moped icon indicating copy to clipboard operation
moped copied to clipboard

operation timeout

Open wandenberg opened this issue 10 years ago • 8 comments

This is the same pull request as #329, just rebased (I'll close the old one)

Add a timeout to read socket to be possible stop the process when the server is taking too long to answer due to high load or a heavy query

wandenberg avatar Feb 12 '15 02:02 wandenberg

:+1: @wandenberg but Travis builds fail

swistaczek avatar Mar 18 '15 13:03 swistaczek

@wandenberg thanks for the PR, do you mind squashing the commits in one, and add a changelog entry?

@durran @estolfo can you guys have a look, does this make sense?

arthurnn avatar Mar 24 '15 20:03 arthurnn

@arthurnn I squashed in three commit because it were originally three different features. If you want to I can squash in only one, but this way is better to understand what was done

wandenberg avatar Mar 25 '15 14:03 wandenberg

We use this in production and it does work as expected.

fbernier avatar May 05 '15 15:05 fbernier

Coverage Status

Coverage decreased (-0.59%) to 93.3% when pulling 1deb6e76328ef5ac3b10457c2dc49e9af6e66694 on wandenberg:operation_timeout into 68923e0cfba9607398b6f5df270abeb8a429efb8 on mongoid:master.

coveralls avatar Jun 03 '15 14:06 coveralls

Coverage Status

Coverage decreased (-0.06%) to 93.83% when pulling 1deb6e76328ef5ac3b10457c2dc49e9af6e66694 on wandenberg:operation_timeout into 68923e0cfba9607398b6f5df270abeb8a429efb8 on mongoid:master.

coveralls avatar Jun 03 '15 14:06 coveralls

Coverage Status

Coverage decreased (-0.06%) to 93.83% when pulling 470224c0361f21112d1a988982af2702f73d9eb2 on wandenberg:operation_timeout into 68923e0cfba9607398b6f5df270abeb8a429efb8 on mongoid:master.

coveralls avatar Jun 03 '15 15:06 coveralls

Any updates on this one? /cc @durran @estolfo

agis avatar Sep 18 '15 08:09 agis