ActivityExpirationWorker: Fix merge issues.
authorlain <lain@soykaf.club>
Sat, 24 Aug 2019 15:22:26 +0000 (17:22 +0200)
committerlain <lain@soykaf.club>
Sat, 24 Aug 2019 15:22:26 +0000 (17:22 +0200)
lib/pleroma/activity_expiration_worker.ex
lib/pleroma/application.ex

index a341f58df32af1626f7d8d2f08d6607044e44abd..0f9e715f8f385eee5c86d973011a732211fa04a3 100644 (file)
@@ -15,7 +15,7 @@ defmodule Pleroma.ActivityExpirationWorker do
 
   @schedule_interval :timer.minutes(1)
 
-  def start_link do
+  def start_link(_) do
     GenServer.start_link(__MODULE__, nil)
   end
 
index 1e4de272cda5a0d5147ef8514735afd5d814d780..483ac1f39e8558ed9ec512c28fa3fa7e9aa57c64 100644 (file)
@@ -36,7 +36,7 @@ defmodule Pleroma.Application do
         Pleroma.Captcha,
         Pleroma.FlakeId,
         Pleroma.ScheduledActivityWorker,
-        Pleroma.ActiviyExpirationWorker
+        Pleroma.ActivityExpirationWorker
       ] ++
         cachex_children() ++
         hackney_pool_children() ++