about summary refs log tree commit diff
path: root/app/workers/admin
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-03-09 08:52:32 +0100
committerGitHub <noreply@github.com>2022-03-09 08:52:32 +0100
commitbd53dd521064b12261b82105624cf5f8b9ca9d69 (patch)
treedde9c499734f74303776705810e76dad668e7d7c /app/workers/admin
parent318d34d528d8d4f9165bf9c1f873da68aadb90a2 (diff)
Change design of federation pages in admin UI (#17704)
* Change design of federation pages in admin UI

* Fix query performance in instance media attachments measure

* Fix reblogs being included in instance languages dimension
Diffstat (limited to 'app/workers/admin')
-rw-r--r--app/workers/admin/domain_purge_worker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/admin/domain_purge_worker.rb b/app/workers/admin/domain_purge_worker.rb
index 7cba2c89e..095232a6d 100644
--- a/app/workers/admin/domain_purge_worker.rb
+++ b/app/workers/admin/domain_purge_worker.rb
@@ -3,6 +3,8 @@
 class Admin::DomainPurgeWorker
   include Sidekiq::Worker
 
+  sidekiq_options queue: 'pull', lock: :until_executed
+
   def perform(domain)
     PurgeDomainService.new.call(domain)
   end