limit pending requests

This commit is contained in:
2023-08-19 20:46:09 +02:00
parent 099abc3a09
commit 845586c2db
2 changed files with 56 additions and 46 deletions

View File

@ -104,6 +104,8 @@ class SHA1_NGCFT1 : public RegistryMessageModelEventI, public NGCFT1EventI {
size_t _max_concurrent_in {4};
size_t _max_concurrent_out {6};
// TODO: probably also includes running transfers rn (meh)
size_t _max_pending_requests {16}; // per content
public:
SHA1_NGCFT1(