diff options
author | rinpatch <rin@patch.cx> | 2021-02-24 17:28:49 +0300 |
---|---|---|
committer | rinpatch <rin@patch.cx> | 2021-02-24 18:52:39 +0300 |
commit | 4286a383dfff02525ee07285094b7110ce0554fd (patch) | |
tree | 5f9038315e8cb57da01cdd36e8641d10b83aa60e /docs/configuration/postgresql.md | |
parent | d113ed94e7b6b30eecc0a5415a69d1b321e625e5 (diff) | |
download | pleroma-4286a383dfff02525ee07285094b7110ce0554fd.tar.gz |
Improve user deletion consistency
An attempt to ensure something like
https://git.pleroma.social/pleroma/pleroma/-/issues/1415 does not happen
or is at least debuggable.
- Deactivate the user before deletion to ensure no new posts/follows
can be made during it
- Run the deletion in a transaction. This should reduce performance
impact of a deletion since it will only use a single connection. Also
makes sure an account cannot get stuck in a weird state between deleted
and active. Made it possible to disable though, in case someone hits
the issue mentioned above.
- Log more errors
Diffstat (limited to 'docs/configuration/postgresql.md')
0 files changed, 0 insertions, 0 deletions