Skip to content

feat(queue): add download queue with configurable concurrency limit#37

Merged
ZenonEl merged 1 commit into
mainfrom
feat/download-queue
Mar 30, 2026
Merged

feat(queue): add download queue with configurable concurrency limit#37
ZenonEl merged 1 commit into
mainfrom
feat/download-queue

Conversation

@ZenonEl
Copy link
Copy Markdown
Owner

@ZenonEl ZenonEl commented Mar 30, 2026

Summary

  • Add DownloadQueue service with SemaphoreSlim-based concurrency control
  • Default max 3 concurrent downloads (configurable via MaxConcurrentDownloads)
  • Queue position shown to user when waiting
  • Throttles at download level, not message handler level

Closes #26

Test plan

  • dotnet build passes
  • All 29 tests pass
  • Multiple links sent simultaneously are queued
  • Queue position shown in status message

@ZenonEl ZenonEl merged commit e00b7ac into main Mar 30, 2026
1 check passed
@ZenonEl ZenonEl deleted the feat/download-queue branch March 30, 2026 02:38
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.

Add download queue with configurable concurrency

1 participant