make timeout equal, other stuff

This commit is contained in:
Green Sky
2025-12-12 13:36:23 +01:00
parent eb76b35c1d
commit 151ddc38b2
2 changed files with 1 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ void NGCFT1::updateSendTransfer(float time_delta, uint32_t group_number, uint32_
}
}
});
if (tf.time_since_activity >= sending_give_up_after) {
if (tf.time_since_activity >= (sending_give_up_after * peer.active_send_transfers)) {
// no ack after 30sec, close ft
std::cerr << "NGCFT1 warning: sending ft finishing timed out, deleting\n";
dispatch(