projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
935ef21
)
Cannot use batches with User.try_send_confirmation_email/1
author
Mark Felder
<feld@FreeBSD.org>
Thu, 24 Sep 2020 23:23:47 +0000
(18:23 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Thu, 24 Sep 2020 23:23:47 +0000
(18:23 -0500)
lib/mix/tasks/pleroma/email.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/pleroma/email.ex
b/lib/mix/tasks/pleroma/email.ex
index 0e4c87598d689d71a10bda6720a48fd9525302f9..9e989ed465b05295c16e4b34b8bb6f275f95b553 100644
(file)
--- 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