27 sats \ 0 replies \ @ek 27 Sep 2023 \ parent \ on: Stacker Saloon
I think the delay is more related to us polling LND every 5 seconds instead of subscribing to changes
Could do but that makes it unnecessary complex if that's not the reason for the delay. Programmers don't like exceptions.
relevant lines of code:
- the TODO comment to use sockets instead of polling
- worker checks withdrawal status every 5 seconds
- the first check is after 10 seconds