[PR #110] [MERGED] Add cleanup for slow downloads #251

Closed
opened 2025-10-09 17:00:26 -05:00 by giteasync · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Cleanuparr/Cleanuparr/pull/110
Author: @Flaminel
Created: 4/2/2025
Status: Merged
Merged: 4/6/2025
Merged by: @Flaminel

Base: mainHead: add_cleanup_on_slow_downloads


📝 Commits (10+)

  • fc343b7 added cleanup on slow downloads for qbit
  • f2193b0 renamed strike type for slow time; added reset slow strikes on progress
  • 67e3e6b fixed config validation
  • cdc941d updated docs
  • 5adbf8b updated test data
  • a078fdc fixed values humanization
  • 50cacc9 removed Humanizer
  • 4e8b036 added handling for Deluge
  • da7c998 refactored duplicated code
  • a373f8f added handling for Transmission

📊 Changes

26 files changed (+696 additions, -133 deletions)

View changed files

📝 .github/ISSUE_TEMPLATE/1-bug.yml (+1 -1)
📝 .github/ISSUE_TEMPLATE/3-help.yml (+1 -1)
📝 chart/values.yaml (+1 -1)
📝 code/Common/Configuration/QueueCleaner/QueueCleanerConfig.cs (+61 -3)
code/Common/CustomDataTypes/ByteSize.cs (+115 -0)
code/Common/CustomDataTypes/SmartTimeSpan.cs (+66 -0)
📝 code/Domain/Enums/DeleteReason.cs (+2 -0)
📝 code/Domain/Enums/StrikeType.cs (+3 -1)
📝 code/Domain/Models/Cache/StalledCacheItem.cs (+1 -1)
📝 code/Domain/Models/Deluge/Response/DownloadStatus.cs (+7 -1)
📝 code/Executable/appsettings.Development.json (+9 -2)
📝 code/Infrastructure.Tests/Verticals/DownloadClient/DownloadServiceTests.cs (+7 -29)
📝 code/Infrastructure.Tests/Verticals/DownloadClient/TestDownloadService.cs (+2 -3)
📝 code/Infrastructure/Extensions/DelugeExtensions.cs (+1 -1)
📝 code/Infrastructure/Helpers/CacheKeys.cs (+1 -1)
📝 code/Infrastructure/Verticals/DownloadClient/Deluge/DelugeClient.cs (+7 -5)
📝 code/Infrastructure/Verticals/DownloadClient/Deluge/DelugeService.cs (+73 -17)
📝 code/Infrastructure/Verticals/DownloadClient/DownloadCheckResult.cs (+1 -1)
📝 code/Infrastructure/Verticals/DownloadClient/DownloadService.cs (+87 -15)
📝 code/Infrastructure/Verticals/DownloadClient/DummyDownloadService.cs (+1 -1)

...and 6 more files

📄 Description

Resolves #100


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Cleanuparr/Cleanuparr/pull/110 **Author:** [@Flaminel](https://github.com/Flaminel) **Created:** 4/2/2025 **Status:** ✅ Merged **Merged:** 4/6/2025 **Merged by:** [@Flaminel](https://github.com/Flaminel) **Base:** `main` ← **Head:** `add_cleanup_on_slow_downloads` --- ### 📝 Commits (10+) - [`fc343b7`](https://github.com/Cleanuparr/Cleanuparr/commit/fc343b7a5b58a3687933fd6fe531beddf6eb6761) added cleanup on slow downloads for qbit - [`f2193b0`](https://github.com/Cleanuparr/Cleanuparr/commit/f2193b01707660fecc773aa4bcf15a670dff984c) renamed strike type for slow time; added reset slow strikes on progress - [`67e3e6b`](https://github.com/Cleanuparr/Cleanuparr/commit/67e3e6b86b5f1ebea23a7aeadf97726f2e656306) fixed config validation - [`cdc941d`](https://github.com/Cleanuparr/Cleanuparr/commit/cdc941d76f2bf509ca3c5b20d81e937b5ba838af) updated docs - [`5adbf8b`](https://github.com/Cleanuparr/Cleanuparr/commit/5adbf8b2503deb7514ce50590d7a487db3aec5cd) updated test data - [`a078fdc`](https://github.com/Cleanuparr/Cleanuparr/commit/a078fdc601cbd8401d332a99c9b4f1b2e9b99c64) fixed values humanization - [`50cacc9`](https://github.com/Cleanuparr/Cleanuparr/commit/50cacc9d80db7e436035d05a7f32b0f98070af63) removed Humanizer - [`4e8b036`](https://github.com/Cleanuparr/Cleanuparr/commit/4e8b036e93800937a3708f7cda15f12000820f9c) added handling for Deluge - [`da7c998`](https://github.com/Cleanuparr/Cleanuparr/commit/da7c9989c42ad93d0d2aaad426c21344f566f733) refactored duplicated code - [`a373f8f`](https://github.com/Cleanuparr/Cleanuparr/commit/a373f8fad11e9574f88af39ff23e1df59ad72d3f) added handling for Transmission ### 📊 Changes **26 files changed** (+696 additions, -133 deletions) <details> <summary>View changed files</summary> 📝 `.github/ISSUE_TEMPLATE/1-bug.yml` (+1 -1) 📝 `.github/ISSUE_TEMPLATE/3-help.yml` (+1 -1) 📝 `chart/values.yaml` (+1 -1) 📝 `code/Common/Configuration/QueueCleaner/QueueCleanerConfig.cs` (+61 -3) ➕ `code/Common/CustomDataTypes/ByteSize.cs` (+115 -0) ➕ `code/Common/CustomDataTypes/SmartTimeSpan.cs` (+66 -0) 📝 `code/Domain/Enums/DeleteReason.cs` (+2 -0) 📝 `code/Domain/Enums/StrikeType.cs` (+3 -1) 📝 `code/Domain/Models/Cache/StalledCacheItem.cs` (+1 -1) 📝 `code/Domain/Models/Deluge/Response/DownloadStatus.cs` (+7 -1) 📝 `code/Executable/appsettings.Development.json` (+9 -2) 📝 `code/Infrastructure.Tests/Verticals/DownloadClient/DownloadServiceTests.cs` (+7 -29) 📝 `code/Infrastructure.Tests/Verticals/DownloadClient/TestDownloadService.cs` (+2 -3) 📝 `code/Infrastructure/Extensions/DelugeExtensions.cs` (+1 -1) 📝 `code/Infrastructure/Helpers/CacheKeys.cs` (+1 -1) 📝 `code/Infrastructure/Verticals/DownloadClient/Deluge/DelugeClient.cs` (+7 -5) 📝 `code/Infrastructure/Verticals/DownloadClient/Deluge/DelugeService.cs` (+73 -17) 📝 `code/Infrastructure/Verticals/DownloadClient/DownloadCheckResult.cs` (+1 -1) 📝 `code/Infrastructure/Verticals/DownloadClient/DownloadService.cs` (+87 -15) 📝 `code/Infrastructure/Verticals/DownloadClient/DummyDownloadService.cs` (+1 -1) _...and 6 more files_ </details> ### 📄 Description Resolves #100 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
giteasync added the
pull-request
label 2025-10-09 17:00:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Cleanuparr-Cleanuparr#251
No description provided.