mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-09 17:23:11 +00:00
feat: reliable channels search up to 30 days to find message
Queries stop once a valid sync or content message is found in the channel.
This commit is contained in:
parent
99446e23f7
commit
1ea8a5b75f
@ -17,7 +17,7 @@ import {
|
||||
const log = new Logger("sdk:query-on-connect");
|
||||
|
||||
export const DEFAULT_FORCE_QUERY_THRESHOLD_MS = 5 * 60 * 1000; // 5 minutes
|
||||
export const MAX_TIME_RANGE_QUERY_MS = 24 * 60 * 60 * 1000; // 24 hours
|
||||
export const MAX_TIME_RANGE_QUERY_MS = 30 * 24 * 60 * 60 * 1000; // 30 days (queries are split)
|
||||
|
||||
export interface QueryOnConnectOptions {
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user