Added semaphore to limit concurrent file operations in copy function: #37

Merged
jakeISAC merged 1 commit from dev into main 2026-03-17 13:55:33 +01:00
Owner
  • Introduced Semaphore to cap the number of concurrently opened files, avoiding resource exhaustion.
  • Refactored process_file_group and transfer_file functions to support async semaphore handling.
  • Improved logging for worker thread lifecycle.
  • Updated fs::copy to tokio::fs::copy for async compatibility.
- Introduced `Semaphore` to cap the number of concurrently opened files, avoiding resource exhaustion. - Refactored `process_file_group` and `transfer_file` functions to support async semaphore handling. - Improved logging for worker thread lifecycle. - Updated `fs::copy` to `tokio::fs::copy` for async compatibility.
- Introduced `Semaphore` to cap the number of concurrently opened files, avoiding resource exhaustion.
- Refactored `process_file_group` and `transfer_file` functions to support async semaphore handling.
- Improved logging for worker thread lifecycle.
- Updated `fs::copy` to `tokio::fs::copy` for async compatibility.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jakeISAC/bifrost!37
No description provided.