projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ObjectID Validator: Refactor.
[akkoma]
/
lib
/
pleroma
/
workers
/
background_worker.ex
diff --git
a/lib/pleroma/workers/background_worker.ex
b/lib/pleroma/workers/background_worker.ex
index 598df65809f62f9eb6cc72c7b887622d4ab8c2c0..0f8ece2c4cfc2acd9e4da300de866716e322e308 100644
(file)
--- a/
lib/pleroma/workers/background_worker.ex
+++ b/
lib/pleroma/workers/background_worker.ex
@@
-10,10
+10,6
@@
defmodule Pleroma.Workers.BackgroundWorker do
use Pleroma.Workers.WorkerHelper, queue: "background"
@impl Oban.Worker
use Pleroma.Workers.WorkerHelper, queue: "background"
@impl Oban.Worker
- def perform(%{"op" => "fetch_initial_posts", "user_id" => user_id}, _job) do
- user = User.get_cached_by_id(user_id)
- User.perform(:fetch_initial_posts, user)
- end
def perform(%{"op" => "deactivate_user", "user_id" => user_id, "status" => status}, _job) do
user = User.get_cached_by_id(user_id)
def perform(%{"op" => "deactivate_user", "user_id" => user_id, "status" => status}, _job) do
user = User.get_cached_by_id(user_id)