fix: fetch only last 30 minutes

This commit is contained in:
Sasha 2023-09-19 17:08:44 +02:00
parent b11300c10e
commit 2ff72c8df1
No known key found for this signature in database

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() {