key renamed to path

This commit is contained in:
Kyle Drake 2017-07-23 11:10:10 -07:00
parent bdee6500ee
commit dbc47f0586

View file

@ -14,7 +14,7 @@ class PurgeCacheWorker
# Must always have a forward slash
path = '/' + path if path[0] != '/'
$redis_proxy.publish 'proxy', {cmd: 'purge', key: "#{username}#{path}"}.to_msgpack
$redis_proxy.publish 'proxy', {cmd: 'purge', path: "#{username}#{path}"}.to_msgpack
url = Addressable::URI.encode_component(
"https://#{proxy_ip}#{path}",