Skip to content

perf: Do not launch useless coroutines if permit is not available#1265

Merged
Iamlooker merged 1 commit intomainfrom
perf/download-stats
Mar 11, 2026
Merged

perf: Do not launch useless coroutines if permit is not available#1265
Iamlooker merged 1 commit intomainfrom
perf/download-stats

Conversation

@Iamlooker
Copy link
Member

This commit should stop launching of infinitely stuck infinite coroutines if download speed is slow. We should now be acquiring the semaphore permit before we launch a coroutine which does the actual work

This commit should stop launching of infinitely stuck infinite coroutines if download speed is slow. We should now be acquiring the semaphore permit before we launch a coroutine which does the actual work

Signed-off-by: LooKeR <iamlooker@proton.me>
@Iamlooker Iamlooker added bug Something isn't working enhancement New feature or request labels Mar 11, 2026
@Iamlooker Iamlooker linked an issue Mar 11, 2026 that may be closed by this pull request
2 tasks
@Iamlooker Iamlooker merged commit 478118b into main Mar 11, 2026
1 check passed
@Iamlooker Iamlooker deleted the perf/download-stats branch March 11, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Memory leak

1 participant