mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
Follow-up to the #1501 review (PR #1629): - F1: CLN getAlias now builds its request from selNode.authentication.options instead of the shared module-level 'options'. That coupling meant a cold Peers/route lookup dereferenced a null 'options'; with the new limiter swallowing per-task throws, that returned 200 with every alias unset. Aliases now resolve regardless of call order, with a truncated-id fallback if auth options are somehow absent. - F2: mirror the 20-way concurrency bound to LND peers (getPeers and postPeer), which had the same unbounded Promise.all alias fan-out. Eclair resolves aliases inline from a bulk nodes list, so it needs no change. - F3: normalize runWithConcurrencyLimit's start count to at least 1 so a non-positive limit can't leave 'done' unfired and hang the response. |
||
|---|---|---|
| .. | ||
| controllers | ||
| models | ||
| routes | ||
| utils | ||