Skip to content

Add configurable timeout for CCIP-read fetch requests#5135

Open
tenderdeve wants to merge 1 commit into
ethers-io:mainfrom
tenderdeve:feat/5093-ccip-read-timeout
Open

Add configurable timeout for CCIP-read fetch requests#5135
tenderdeve wants to merge 1 commit into
ethers-io:mainfrom
tenderdeve:feat/5093-ccip-read-timeout

Conversation

@tenderdeve

Copy link
Copy Markdown

Adds a ccipReadFetchTimeout property to AbstractProvider that overrides the default FetchRequest timeout (5 minutes) for CCIP operations. When set to a value > 0, each CCIP-read fetch uses that timeout. A value of 0 (default) preserves existing behavior.

Fixes #5093

Usage:

provider.ccipReadFetchTimeout = 3000; // 3 seconds

Adds a ccipReadFetchTimeout property to AbstractProvider that allows
overriding the default FetchRequest timeout for CCIP operations. When
set to a value greater than 0, each CCIP fetch request uses that
timeout instead of the default 5 minutes.
@tenderdeve
tenderdeve marked this pull request as ready for review May 5, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add configurable timeout for CCIP-read client

1 participant