Merge branch 'fix/1787-mogrify-args' into 'develop'
[akkoma] / lib / pleroma / migration_helper / notification_backfill.ex
index 09647d12a97c2d73712b99dd6b0342eca6839aa1..b3770307ae01842649e85d5d672e1359f1c82f54 100644 (file)
@@ -18,7 +18,7 @@ defmodule Pleroma.MigrationHelper.NotificationBackfill do
       )
 
     query
-    |> Repo.all()
+    |> Repo.chunk_stream(100)
     |> Enum.each(fn notification ->
       type =
         notification.activity