From bbe4453833ad561c79a7cae1a5ac5e66d06535f7 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Mon, 16 Jan 2023 12:37:46 +0100 Subject: [PATCH] reduce init retry/timeout cooldown --- ngc_ft1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngc_ft1.cpp b/ngc_ft1.cpp index a59d250..e1819ab 100644 --- a/ngc_ft1.cpp +++ b/ngc_ft1.cpp @@ -224,7 +224,7 @@ void NGC_FT1_iterate(Tox *tox, NGC_FT1* ngc_ft1_ctx) { switch (tf.state) { using State = NGC_FT1::Group::Peer::SendTransfer::State; case State::INIT_SENT: - if (tf.time_since_activity >= 20.f) { + if (tf.time_since_activity >= 10.f) { if (tf.inits_sent >= 3) { // delete, timed out 3 times fprintf(stderr, "FT: warning, ft init timed out, deleting\n");