mirror of
https://github.com/logos-messaging/examples.waku.org.git
synced 2026-01-02 04:43:07 +00:00
fix: fetch only last 30 minutes (#270)
This commit is contained in:
parent
b11300c10e
commit
14034a0fba
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user