Skip to content

Commit 3eec305

Browse files
holgerd77ryanio
authored andcommitted
client: added more generous timeout for peer connections
1 parent 38ccf25 commit 3eec305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/client/lib/service/ethereumservice.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface EthereumServiceOptions extends ServiceOptions {
1717
/* Sync retry interval in ms (default: 8000) */
1818
interval?: number
1919

20-
/* Protocol timeout in ms (default: 4000) */
20+
/* Protocol timeout in ms (default: 6000) */
2121
timeout?: number
2222
}
2323

@@ -42,7 +42,7 @@ export class EthereumService extends Service {
4242
this.flow = new FlowControl()
4343
this.chain = options.chain ?? new Chain(options)
4444
this.interval = options.interval ?? 8000
45-
this.timeout = options.timeout ?? 4000
45+
this.timeout = options.timeout ?? 6000
4646
}
4747

4848
/**

0 commit comments

Comments
 (0)