mirror of
https://github.com/neocities/neocities.git
synced 2025-06-16 17:34:39 +02:00
Remove Dnsruby call in workers
This commit is contained in:
parent
f07f804138
commit
7178fb34e6
2 changed files with 0 additions and 4 deletions
|
@ -7,8 +7,6 @@ class DeleteCacheOrderWorker
|
||||||
180
|
180
|
||||||
end
|
end
|
||||||
|
|
||||||
RESOLVER = Dnsruby::Resolver.new
|
|
||||||
|
|
||||||
def perform(username, path)
|
def perform(username, path)
|
||||||
if ENV['RACK_ENV'] == 'test'
|
if ENV['RACK_ENV'] == 'test'
|
||||||
proxy_ips = ['10.0.0.1', '10.0.0.2']
|
proxy_ips = ['10.0.0.1', '10.0.0.2']
|
||||||
|
|
|
@ -7,8 +7,6 @@ class PurgeCacheOrderWorker
|
||||||
180
|
180
|
||||||
end
|
end
|
||||||
|
|
||||||
RESOLVER = Dnsruby::Resolver.new
|
|
||||||
|
|
||||||
def perform(username, path)
|
def perform(username, path)
|
||||||
if ENV['RACK_ENV'] == 'test'
|
if ENV['RACK_ENV'] == 'test'
|
||||||
proxy_ips = ['10.0.0.1', '10.0.0.2']
|
proxy_ips = ['10.0.0.1', '10.0.0.2']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue