mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 02:23:16 -06:00
make cache invalidation comments match what's actually happening
This commit is contained in:
parent
071172ea9d
commit
57f268870c
1 changed files with 2 additions and 2 deletions
|
|
@ -215,7 +215,7 @@ func (t *tagDB) PutFollowedTag(ctx context.Context, accountID string, tagID stri
|
|||
return nil
|
||||
}
|
||||
|
||||
// If we deleted anything, invalidate caches.
|
||||
// We updated something, invalidate caches.
|
||||
t.state.Caches.DB.FollowingTagIDs.Invalidate(
|
||||
|
||||
// tag IDs followed by account
|
||||
|
|
@ -246,7 +246,7 @@ func (t *tagDB) DeleteFollowedTag(ctx context.Context, accountID string, tagID s
|
|||
return nil
|
||||
}
|
||||
|
||||
// If we deleted anything, invalidate caches.
|
||||
// We deleted something, invalidate caches.
|
||||
t.state.Caches.DB.FollowingTagIDs.Invalidate(
|
||||
|
||||
// tag IDs followed by account
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue