mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
change purgecache publish name
This commit is contained in:
parent
94b3fd6903
commit
e756724fe7
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class PurgeCacheWorker
|
||||||
|
|
||||||
def perform(url)
|
def perform(url)
|
||||||
begin
|
begin
|
||||||
$pubsub.publish 'purge', url
|
$pubsub.publish 'purgecache', url
|
||||||
rescue Redis::BaseConnectionError => error
|
rescue Redis::BaseConnectionError => error
|
||||||
puts "Pubsub error: #{error}, retrying in 1s"
|
puts "Pubsub error: #{error}, retrying in 1s"
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue