Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In remove_remote, exclude removed media attachments. #5626

Merged
merged 1 commit into from Nov 8, 2017

Conversation

yukimochi
Copy link
Contributor

Execute remove_remote, all media_attachments were destroyed now.
It takes very long times and the time may increase linear by time.
But it may contain erased one (by previous remove_remote).

.where(file_file_name: nil) means remote-only attachments, so no problem to exclude them from destroy.

@Gargron Gargron merged commit 4c0a85e into mastodon:master Nov 8, 2017
@yukimochi yukimochi deleted the improve-remove_remote branch November 8, 2017 14:21
@yukimochi yukimochi restored the improve-remove_remote branch November 8, 2017 14:36
@yukimochi yukimochi deleted the improve-remove_remote branch November 8, 2017 14:37
cobodo pushed a commit to cobodo/mastodon that referenced this pull request Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants