mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 09:11:28 +02:00
switch off dnsruby until 2.3.x warning goes away
This commit is contained in:
parent
8cd765dc0c
commit
f07f804138
4 changed files with 2 additions and 5 deletions
|
@ -13,7 +13,7 @@ class PurgeCacheOrderWorker
|
|||
if ENV['RACK_ENV'] == 'test'
|
||||
proxy_ips = ['10.0.0.1', '10.0.0.2']
|
||||
else
|
||||
proxy_ips = RESOLVER.query($config['cache_purge_ips_uri']).answer.collect {|a| a.address.to_s}
|
||||
proxy_ips = Resolv.getaddresses($config['cache_purge_ips_uri'])
|
||||
end
|
||||
|
||||
proxy_ips.each do |proxy_ip|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue