fix: fetch only last 30 minutes (#270)

This commit is contained in:
Sasha 2023-09-19 17:21:31 +02:00 committed by GitHub
parent b11300c10e
commit 14034a0fba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import { useMessages, usePersistentNick } from "./hooks";
const startTime = new Date();
// Only retrieve a week of history
startTime.setTime(Date.now() - 1000 * 60 * 60 * 24 * 7);
startTime.setTime(Date.now() - 1000 * 60 * 30);
const endTime = new Date();
export default function App() {