use the monotonic clock under Ruby 2.1+
commitf0f405ef6761b57da48f2cfd0096df98116fb7bb
authorEric Wong <e@80x24.org>
Sun, 18 Jan 2015 03:38:08 +0000 (18 03:38 +0000)
committerEric Wong <e@80x24.org>
Sun, 18 Jan 2015 03:38:08 +0000 (18 03:38 +0000)
tree2d85d3cae2d9107c9bd45deb39964df1ba0294d2
parente353029708223b7f05152e1a7214c56cadc70709
use the monotonic clock under Ruby 2.1+

The monotonic clock is immune to time adjustments so it is not
thrown off by misconfigured clocks.  Process.clock_gettime also
generates less garbage on 64-bit systems due to the use of Flonum.
lib/unicorn/http_server.rb