mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
shut down http-based purging
This commit is contained in:
parent
99cd5d1ab8
commit
1a563e8aee
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue