Skip to content

Commit d26fde6

Browse files
authored
linera-client: don't override chain worker TTL (#4524)
## Motivation We have a CLI option for setting the chain worker TTL, but currently it is overridden with a static value. ## Proposal Respect the passed value. ## Test Plan Compiles, and I used it to test the #4444. ## Release Plan - These changes should be backported to the latest `devnet` branch, then - be released in a new SDK, - These changes should be backported to the latest `testnet` branch, then - be released in a new SDK, ## Links - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
1 parent 31040be commit d26fde6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linera-client/src/client_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ where
149149
options.long_lived_services,
150150
chain_ids,
151151
name,
152-
Duration::from_secs(30),
152+
options.chain_worker_ttl,
153153
options.to_chain_client_options(),
154154
);
155155

0 commit comments

Comments
 (0)