Skip to content

Commit 440728c

Browse files
fix(txm): increase default txm timeout
1 parent 6655ac3 commit 440728c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/txm/lib/TransactionManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export type TransactionManagerConfig = {
4343
url: string
4444
/**
4545
* The timeout for the RPC node.
46-
* Defaults to 500 milliseconds.
46+
* Defaults to 2000 milliseconds.
4747
*/
4848
timeout?: number
4949
/**
@@ -183,7 +183,7 @@ export class TransactionManager {
183183

184184
const retries = _config.rpc.retries || 2
185185
const retryDelay = _config.rpc.retryDelay || 50
186-
const timeout = _config.rpc.timeout || 500
186+
const timeout = _config.rpc.timeout || 2000
187187

188188
let transport: ViemTransport
189189
if (this.transportProtocol === "http") {

0 commit comments

Comments
 (0)