Skip to content

WIP: Add non-federation tasks support to Federator

minibikini requested to merge minibikini/pleroma:improve-federator into develop

Currently, Federator will skip all tasks if the federating setting is disabled.

This MR adds a list of federation types (job names) so when federating is off it will skip all the federation tasks but still run other tasks.

Also it's probably good time to rename:

  • Pleroma.Web.Federator -> Pleroma.Jobs
  • Pleroma.Web.Federator.RetryQueue -> Pleroma.Jobs.RetryQueue

and maybe:

  • handle/2 -> perform/2
  • type -> job or task
Edited by minibikini

Merge request reports