Code revisions.

This commit is contained in:
J-D-K
2025-10-02 19:33:42 -04:00
parent cc5da07eaa
commit b73de43c5a
8 changed files with 72 additions and 127 deletions

View File

@@ -10,12 +10,13 @@
namespace curl
{
inline constexpr int DOWNLOAD_QUEUE_LIMIT = 128;
// clang-format off
struct DownloadStruct : sys::threadpool::DataStruct
{
/// @brief Buffer queue for downloads.
BufferQueue bufferQueue{BufferQueue::NO_LIMIT, 0};
BufferQueue bufferQueue{BufferQueue::NO_LIMIT};
/// @brief Destination file to write to.
fslib::File *dest{};