wait a bit more

This commit is contained in:
Namekuji 2023-06-16 02:48:57 -04:00
parent 6236661d62
commit fda6a1b1d2
No known key found for this signature in database
GPG Key ID: B541BD6E646CABC7

View File

@ -470,7 +470,7 @@ export default async (
) {
publishNotesStream(data.renote);
const key = `publishedNote:${data.renote.uri}`;
await redisClient.set(key, 1, "EX", 10);
await redisClient.set(key, 1, "EX", 30);
} else if (
!boostedByRelay &&
note.uri &&
@ -478,7 +478,7 @@ export default async (
) {
const key = `publishedNote:${note.uri}`;
publishNotesStream(note);
await redisClient.set(key, 1, "EX", 10);
await redisClient.set(key, 1, "EX", 30);
}
}
if (note.replyId != null) {