mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The status- and account-deletion jobs loaded whole collections with ->get() and then looped, running a per-row Notification lookup inside each iteration. - StatusDelete / RemoteStatusDelete: resolve associated DirectMessage and MediaTag ids, fetch their notifications in a single whereIn query, clear each via cursor (NotificationService::del must run per row for cache/redis cleanup), then bulk delete the DMs and media tags. - DeleteAccountPipeline / DeleteRemoteProfilePipeline: stream Story and Collection deletions with cursor() instead of loading every row into memory. Per-row file unlink and item deletes are preserved. Adds StatusDeleteCleanupTest covering DM + notification cleanup, media tag + notification cleanup, and the no-associations case. |
4 weeks ago | |
|---|---|---|
| .. | ||
| DeleteAccountPipeline.php | 4 weeks ago | |
| DeleteRemoteProfilePipeline.php | 4 weeks ago | |
| DeleteRemoteStatusPipeline.php | 4 weeks ago | |
| FanoutDeletePipeline.php | 1 month ago | |