We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92925c9 commit ab93209Copy full SHA for ab93209
1 file changed
server/utils/atproto/utils/likes.ts
@@ -195,10 +195,9 @@ export class PackageLikesUtils {
195
rkey,
196
}
197
198
- // We store the backlink incase a user is liking and unliking rapidly. constellation takes a few seconds to capture the backlink
+ // We store the backlink in case a user is liking and unliking rapidly. constellation takes a few seconds to capture the backlink
199
const usersBackLinkKey = CACHE_USERS_BACK_LINK(packageName, usersDid)
200
await this.cache.set(usersBackLinkKey, backLink, CACHE_MAX_AGE)
201
-
202
let totalLikes = await this.cache.get<number>(totalLikesKey)
203
if (!totalLikes) {
204
totalLikes = await this.constellationLikes(subjectRef)
0 commit comments