Skip to content

Commit

Permalink
wordのみで検索できるリミットを減らす
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed May 15, 2019
1 parent ad42c98 commit 4f9128b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/endpoints/notes/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ async function searchInternal(me: ILocalUser, query: string, limit: number, offs
if (es) return null;

// なければ期間を縮めてDB検索
since = new Date(Date.now() - 7 * 86400 * 1000);
since = new Date(Date.now() - 1 * 86400 * 1000);
}

let visibleQuery;
Expand Down

0 comments on commit 4f9128b

Please sign in to comment.