From 2cbe2300a17d235dc09a90c7deca2098517008ac Mon Sep 17 00:00:00 2001 From: C Ng <138497251+cng-ledger@users.noreply.github.com> Date: Wed, 6 Mar 2024 13:14:30 +0000 Subject: [PATCH] bugfix/LIVE 11608 llm swap wrong behaviour with the drawer (#6384) * fix(LIVE-11382): increase timeout to 60 seconds * fix(LIVE-11382): changeset --- .changeset/wet-comics-glow.md | 5 +++++ libs/ledger-live-common/src/exchange/swap/const/timeout.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/wet-comics-glow.md diff --git a/.changeset/wet-comics-glow.md b/.changeset/wet-comics-glow.md new file mode 100644 index 000000000000..e00a809de33f --- /dev/null +++ b/.changeset/wet-comics-glow.md @@ -0,0 +1,5 @@ +--- +"@ledgerhq/live-common": patch +--- + +fix(LIVE-11382): increase LLM quotes timeout to 60 seconds diff --git a/libs/ledger-live-common/src/exchange/swap/const/timeout.ts b/libs/ledger-live-common/src/exchange/swap/const/timeout.ts index 766242dd3531..2f9e7556e943 100644 --- a/libs/ledger-live-common/src/exchange/swap/const/timeout.ts +++ b/libs/ledger-live-common/src/exchange/swap/const/timeout.ts @@ -8,4 +8,4 @@ export const DEFAULT_SWAP_RATES_INTERVAL_MS = 20 * 1000; /** * Default to 30 seconds LLM */ -export const DEFAULT_SWAP_RATES_LLM_INTERVAL_MS = 30 * 1000; +export const DEFAULT_SWAP_RATES_LLM_INTERVAL_MS = 60 * 1000;