wait a bit more
This commit is contained in:
parent
6236661d62
commit
fda6a1b1d2
1 changed files with 2 additions and 2 deletions
|
@ -470,7 +470,7 @@ export default async (
|
||||||
) {
|
) {
|
||||||
publishNotesStream(data.renote);
|
publishNotesStream(data.renote);
|
||||||
const key = `publishedNote:${data.renote.uri}`;
|
const key = `publishedNote:${data.renote.uri}`;
|
||||||
await redisClient.set(key, 1, "EX", 10);
|
await redisClient.set(key, 1, "EX", 30);
|
||||||
} else if (
|
} else if (
|
||||||
!boostedByRelay &&
|
!boostedByRelay &&
|
||||||
note.uri &&
|
note.uri &&
|
||||||
|
@ -478,7 +478,7 @@ export default async (
|
||||||
) {
|
) {
|
||||||
const key = `publishedNote:${note.uri}`;
|
const key = `publishedNote:${note.uri}`;
|
||||||
publishNotesStream(note);
|
publishNotesStream(note);
|
||||||
await redisClient.set(key, 1, "EX", 10);
|
await redisClient.set(key, 1, "EX", 30);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (note.replyId != null) {
|
if (note.replyId != null) {
|
||||||
|
|
Loading…
Reference in a new issue