Skip to content

Commit

Permalink
遅延ノートのしきい値を1時間に
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Jan 6, 2024
1 parent 2f2086c commit 2ca947c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/note/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ export default async (user: IUser, data: Option, silent = false) => {
(noteObj as any).isFirstNote = true;
}

//if (note.createdAt.getTime() > new Date().getTime() - 1000 * 60 * 10) {
if (note.createdAt.getTime() > new Date().getTime() - 1000 * 60 * 60) {
publishNotesStream(noteObj);
//}
}
//publishHotStream(noteObj);

const nm = new NotificationManager(user, note);
Expand Down

0 comments on commit 2ca947c

Please sign in to comment.