diff --git a/apps/machine/src/services/lightning.ts b/apps/machine/src/services/lightning.ts index aa4ee5f..243a1fb 100644 --- a/apps/machine/src/services/lightning.ts +++ b/apps/machine/src/services/lightning.ts @@ -299,7 +299,7 @@ function startLnurlCompletionPolling( } catch (e) { console.warn('[LNURL Poll] Error checking status:', e) } - }, 2000) // Poll every 2 seconds + }, 5000) // Poll every 5 seconds // Store cleanup function const session = lnurlSessions.get(uniqueHash) diff --git a/apps/machine/src/stores/atm.ts b/apps/machine/src/stores/atm.ts index 2232336..40c9c28 100644 --- a/apps/machine/src/stores/atm.ts +++ b/apps/machine/src/stores/atm.ts @@ -998,7 +998,7 @@ export const useAtmStore = defineStore('atm', () => { else if (currency === 'USD' && localPrice !== null) btcPriceUsd.value = localPrice } poll() // immediate first fetch - pricePollingInterval = setInterval(poll, 10_000) + pricePollingInterval = setInterval(poll, 30_000) } function stopPricePolling() { diff --git a/apps/machine/src/views/IdleView.vue b/apps/machine/src/views/IdleView.vue index d40360e..7c84f92 100644 --- a/apps/machine/src/views/IdleView.vue +++ b/apps/machine/src/views/IdleView.vue @@ -120,8 +120,7 @@ function handleCashOut() { >