shut down http-based purging

This commit is contained in:
Kyle Drake 2017-07-23 16:03:21 -07:00
parent 99cd5d1ab8
commit 1a563e8aee

View file

@ -15,7 +15,7 @@ class PurgeCacheWorker
path = '/' + path if path[0] != '/'
$redis_proxy.publish 'proxy', {cmd: 'purge', path: "#{username}#{path}"}.to_msgpack
=begin
url = Addressable::URI.encode_component(
"https://#{proxy_ip}#{path}",
Addressable::URI::CharacterClasses::QUERY
@ -37,5 +37,6 @@ class PurgeCacheWorker
retry_encoded = true
retry
end
=end
end
end