decrease default eoseTimeout to 3400ms.

This commit is contained in:
fiatjaf 2023-12-18 10:07:53 -03:00
parent 7a6c0754ad
commit c54fd95b3e
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ export class SimplePool {
const eoseTimeout = setTimeout(() => {
handleEose = () => {}
params.oneose?.()
}, params.eoseSubTimeout || 5400)
}, params.eoseSubTimeout || 3400)
// batch all closes into a single
const closesReceived: string[] = []