Skip to content

Reset status cache when status_stat or media_attachment updates#9119

Merged
Gargron merged 2 commits intomasterfrom
fix-status-cache-resets
Oct 28, 2018
Merged

Reset status cache when status_stat or media_attachment updates#9119
Gargron merged 2 commits intomasterfrom
fix-status-cache-resets

Conversation

@Gargron
Copy link
Copy Markdown
Member

@Gargron Gargron commented Oct 27, 2018

Fix #8711

Media attachments are generally immutable, but admins can update
the sensitive flag, and this would ensure the change is visible
instantly. Same for updates to status stats. That is a regression
from #8185, because even the correct updated_at fetched from a join
doesn't seem to invalidate the cache.

Fix #8711

Media attachments are generally immutable, but admins can update
the sensitive flag, and this would ensure the change is visible
instantly. Same for updates to status stats. That is a regression
from #8185, because even the correct updated_at fetched from a join
doesn't seem to invalidate the cache.
@Gargron Gargron added the bug Something isn't working label Oct 27, 2018
@Gargron Gargron merged commit 11b3ee4 into master Oct 28, 2018
@Gargron Gargron deleted the fix-status-cache-resets branch October 28, 2018 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant