Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F21907708
scheduled_activity_worker.ex
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
459 B
Referenced Files
None
Subscribers
None
scheduled_activity_worker.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.Workers.ScheduledActivityWorker
do
use
Pleroma.Workers.WorkerHelper
,
queue
:
"scheduled_activities"
@impl
Oban.Worker
def
perform
(%{
"op"
=>
"execute"
,
"activity_id"
=>
activity_id
},
_job
)
do
Pleroma.Daemons.ScheduledActivityDaemon
.
perform
(
:execute
,
activity_id
)
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Sun, Dec 28, 1:42 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
770331
Default Alt Text
scheduled_activity_worker.ex (459 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment