We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f3033 commit 8a66fd1Copy full SHA for 8a66fd1
src/clients/createClient.ts
@@ -225,7 +225,7 @@ export function createClient(parameters: ClientConfig): Client {
225
226
const blockTime = chain?.blockTime ?? 12_000
227
const pollingInterval =
228
- parameters.pollingInterval ?? Math.floor(blockTime / 3)
+ parameters.pollingInterval ?? Math.max(Math.floor(blockTime / 3), 500)
229
const cacheTime = parameters.cacheTime ?? pollingInterval
230
231
const account = parameters.account
0 commit comments