-
perf(checker): run account checks concurrently using Promise.any
All checks were successfulBuild and Publish Docker Image / build-and-push (push) Successful in 22sreleased this
2025-07-13 17:01:31 +01:00 | 0 commits to master since this releaseRefactors the
singleAccountCheck
function to usePromise.any
for validating accounts against multiple stream URLs. This replaces the previous sequentialfor
loop.By running the checks concurrently, the process is significantly faster as it no longer waits for each request to finish before trying the next. The function now resolves as soon as the first successful validation occurs.
The fallback logic for 403 errors (from a tor instance to a direct request) is now cleanly encapsulated within each promise.
Downloads