about summary refs log tree commit diff
path: root/bin/tootctl
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-03-12 23:47:55 +0100
committerGitHub <noreply@github.com>2023-03-12 23:47:55 +0100
commitf432db7b9f54501269c6377faf85b1b4b1424239 (patch)
tree9e08413951f351272aac31aabbade730d90021d2 /bin/tootctl
parent1ed12d5e2f6dc0f7d891916df84be6e06d37786d (diff)
Fix sidekiq jobs not triggering Elasticsearch index updates (#24046)
Diffstat (limited to 'bin/tootctl')
-rwxr-xr-xbin/tootctl4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/tootctl b/bin/tootctl
index a9ebb22c6..9c7ae8b87 100755
--- a/bin/tootctl
+++ b/bin/tootctl
@@ -5,7 +5,9 @@ require_relative '../config/boot'
 require_relative '../lib/cli'
 
 begin
-  Mastodon::CLI.start(ARGV)
+  Chewy.strategy(:mastodon) do
+    Mastodon::CLI.start(ARGV)
+  end
 rescue Interrupt
   exit(130)
 end