Skip to content

Fix retry logic#43

Open
phil-r wants to merge 2 commits intoRunware:mainfrom
phil-r:main
Open

Fix retry logic#43
phil-r wants to merge 2 commits intoRunware:mainfrom
phil-r:main

Conversation

@phil-r
Copy link

@phil-r phil-r commented Nov 21, 2025

Fixes a bug in asyncRetry where it used both a while loop and recursion, causing extra retry attempts.

The recursive call on line 25 in Runware/async-retry.ts didn't return its result, so the while loop continued executing even after a successful recursive call, leading to more API calls than maxRetries specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant