mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 16:48:50 +00:00
decrease default eoseTimeout to 3400ms.
This commit is contained in:
2
pool.ts
2
pool.ts
@@ -56,7 +56,7 @@ export class SimplePool {
|
|||||||
const eoseTimeout = setTimeout(() => {
|
const eoseTimeout = setTimeout(() => {
|
||||||
handleEose = () => {}
|
handleEose = () => {}
|
||||||
params.oneose?.()
|
params.oneose?.()
|
||||||
}, params.eoseSubTimeout || 5400)
|
}, params.eoseSubTimeout || 3400)
|
||||||
|
|
||||||
// batch all closes into a single
|
// batch all closes into a single
|
||||||
const closesReceived: string[] = []
|
const closesReceived: string[] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user