Updated domains cli remoteallremote command batching

• Updated:
- domains cli remoteallremote command batching
This commit is contained in:
mgabdev 2020-11-25 16:26:53 -06:00
parent 8a041c1e2c
commit a9387c5167

@ -44,7 +44,7 @@ module GabSocial
def deleteallremote
dry_run = options[:dry_run] ? ' (DRY RUN)' : ''
Account.remote.by_domain_accounts.each do |acct|
Account.remote.by_domain_accounts.find_in_batches do |acct|
domain = acct.domain
say("\n\n\n - Starting domain block for #{domain} #{dry_run}", :green)
@ -64,7 +64,7 @@ module GabSocial
end
end
say('\nDomain block deleteallremote done', :green)
say('\n\n - Domain block deleteallremote done', :green)
end
option :concurrency, type: :numeric, default: 50, aliases: [:c]