Skip to content
Snippets Groups Projects

pleroma_ctl: Run mix tasks using rpc instead of eval

Merged rinpatch requested to merge feature/pleroma-ctl-rpc into develop

This patch changes pleroma_ctl to call into a running instance instead of spinning up a new one for mix task execution. This significantly decreases the time needed for mix task execution (on my machine for pleroma_ctl user set rin --no-admin the difference is 0.2s vs 4.2s) and allows mix tasks to affect the instance context, for example, this allows to clear the cache after user deletion

Merge request reports

Pipeline #13414 passed

Pipeline passed for 448d739b on feature/pleroma-ctl-rpc

Test coverage 80.90% (0.10%) from 1 job

Merged by HaelwennHaelwenn 5 years ago (Jun 18, 2019 1:57am UTC)

Loading

Pipeline #13417 passed

Pipeline passed for 3d764205 on develop

Test coverage 80.90% (0.10%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading