From: Chris Duncan Date: Sat, 20 Sep 2025 06:38:43 +0000 (-0700) Subject: Device connection rate limits itself to twice per second so align polling with that. X-Git-Tag: v0.10.5~12^2~33 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=66f75cc73926de8037a5b79238f6fd9d169d6a33;p=libnemo.git Device connection rate limits itself to twice per second so align polling with that. --- diff --git a/src/lib/ledger.ts b/src/lib/ledger.ts index 6f6a3ec..7c49045 100644 --- a/src/lib/ledger.ts +++ b/src/lib/ledger.ts @@ -487,7 +487,7 @@ export class Ledger { console.warn('Error polling Ledger device') this.#status = 'DISCONNECTED' } finally { - setTimeout(() => this.#poll(), 200) + setTimeout(() => this.#poll(), 500) } }