mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] do not uncache status / emoji media if attached status is bookmarked (#2956)
* do not uncache status / emoji media if attached status is bookmarked * add status bookmark and bookmark IDs caches * update status bookmark tests * move IsStatusBookmarkedBy() to StatusBookmark{} interface, rely on cache * fix envparsing.sh test
This commit is contained in:
@@ -54,6 +54,8 @@ EXPECT=$(cat << "EOF"
|
||||
"poll-vote-ids-mem-ratio": 2,
|
||||
"poll-vote-mem-ratio": 2,
|
||||
"report-mem-ratio": 1,
|
||||
"status-bookmark-ids-mem-ratio": 2,
|
||||
"status-bookmark-mem-ratio": 0.5,
|
||||
"status-fave-ids-mem-ratio": 3,
|
||||
"status-fave-mem-ratio": 2,
|
||||
"status-mem-ratio": 5,
|
||||
|
Reference in New Issue
Block a user