From: Mark Felder Date: Thu, 24 Sep 2020 23:23:47 +0000 (-0500) Subject: Cannot use batches with User.try_send_confirmation_email/1 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e33360fdb958708661a5bda415b9f06b5e1290d5;p=akkoma Cannot use batches with User.try_send_confirmation_email/1 --- diff --git a/lib/mix/tasks/pleroma/email.ex b/lib/mix/tasks/pleroma/email.ex index 0e4c87598..9e989ed46 100644 --- a/lib/mix/tasks/pleroma/email.ex +++ b/lib/mix/tasks/pleroma/email.ex @@ -31,7 +31,7 @@ defmodule Mix.Tasks.Pleroma.Email do confirmation_pending: true, invisible: false }) - |> Pleroma.Repo.chunk_stream(500, :batches) + |> Pleroma.Repo.chunk_stream(500) |> Stream.each(&Pleroma.User.try_send_confirmation_email(&1)) |> Stream.run() end