mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Use resolv-replace so slow DNS lookups don't slow or halt Sidekiq
This commit is contained in:
parent
bdc36e4c3d
commit
efa3915b0c
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2.16.0
|
||||
-----------
|
||||
|
||||
- Use Ruby's `resolv-replace` to enable pure Ruby DNS lookups.
|
||||
This ensures that any DNS resolution that takes place in worker
|
||||
threads won't lock up the entire VM on MRI.
|
||||
See this [blog post](http://coderrr.wordpress.com/2007/12/06/backgrounding-tasks-in-rails-with-threads-and-using-resolv-replace-to-make-them-faster/) for more info.
|
||||
|
||||
2.15.2
|
||||
-----------
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
$stdout.sync = true
|
||||
|
||||
require 'resolv-replace'
|
||||
require 'yaml'
|
||||
require 'singleton'
|
||||
require 'optparse'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module Sidekiq
|
||||
VERSION = "2.15.2"
|
||||
VERSION = "2.16.0"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue