diff options
author | rinpatch <rinpatch@sdf.org> | 2019-06-18 00:17:47 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-06-18 00:22:58 +0300 |
commit | 448d739b259b3fe2e7c6ff2d2f41b93d53dd01b3 (patch) | |
tree | 6459ace72932a9e716ff086183d22639f31941e5 /priv | |
parent | 49a49d376341262032c3d1e5d037dca9554a7b4a (diff) | |
download | pleroma-448d739b259b3fe2e7c6ff2d2f41b93d53dd01b3.tar.gz |
pleroma_ctl: Run mix tasks using rpc instead of eval
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
Diffstat (limited to 'priv')
0 files changed, 0 insertions, 0 deletions