new chunk picker, basically working

still needs work on the sending side and more bug fixes
This commit is contained in:
2024-07-03 12:11:20 +02:00
parent 613b183592
commit d19fc6ba30
4 changed files with 210 additions and 108 deletions

View File

@ -88,9 +88,7 @@ class SHA1_NGCFT1 : public ToxEventI, public RegistryMessageModelEventI, public
bool _udp_only {false};
size_t _max_concurrent_in {4};
size_t _max_concurrent_out {8};
// TODO: probably also includes running transfers rn (meh)
size_t _max_pending_requests {32}; // per content
size_t _max_concurrent_out {4};
public:
SHA1_NGCFT1(