pleroma/test
ilja 57eef6d764 prune_objects can prune orphaned activities who reference an array of objects
E.g. Flag activities have an array of objects

We prune the activity when NONE of the objects can be found

Note that the cost of finding and deleting these is ~4x higher than finding and deleting the non-array ones

Only string:
Delete on activities  (cost=506573.48..506580.38 rows=0 width=0)

Only Array:
Delete on activities  (cost=3570359.68..4276365.34 rows=0 width=0)

(They are still executed separately, so the total cost is the sum of the two)
2023-02-26 14:41:50 +01:00
..
config remove default emoji file 2022-08-11 19:05:41 +01:00
credo/check/consistency giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
fixtures Interpret \n as newline for MFM 2023-02-18 19:56:11 +01:00
instance_static URL encode remote emoji pack names (#362) 2023-01-15 18:14:04 +00:00
mix prune_objects can prune orphaned activities who reference an array of objects 2023-02-26 14:41:50 +01:00
pleroma Interpret \n as newline for MFM 2023-02-18 19:56:11 +01:00
support argon2 password hashing (#406) 2022-12-30 02:46:58 +00:00
test_helper.exs Use finch everywhere (#33) 2022-07-04 16:30:38 +00:00