diff --git a/solanaceae/ngc_ft1/flow_only.hpp b/solanaceae/ngc_ft1/flow_only.hpp index 3322a30..6e4d5f7 100644 --- a/solanaceae/ngc_ft1/flow_only.hpp +++ b/solanaceae/ngc_ft1/flow_only.hpp @@ -12,7 +12,7 @@ struct FlowOnly : public CCAI { public: // config static constexpr float RTT_EMA_ALPHA = 0.001f; // might need change over time static constexpr float RTT_UP_MAX = 3.0f; // how much larger a delay can be to be taken into account - static constexpr float RTT_MAX = 2.f; // 2 sec is probably too much + static constexpr float RTT_MAX = 2.f; // maybe larger for tunneled connections protected: // initialize to low value, will get corrected very fast diff --git a/solanaceae/ngc_ft1/ngcft1.cpp b/solanaceae/ngc_ft1/ngcft1.cpp index f691cfd..c65e83d 100644 --- a/solanaceae/ngc_ft1/ngcft1.cpp +++ b/solanaceae/ngc_ft1/ngcft1.cpp @@ -625,7 +625,8 @@ bool NGCFT1::onEvent(const Events::NGCEXT_ft1_data& e) { // TODO: keep around for remote timeout + delay + offset, so we can be sure all acks where received // or implement a dedicated finished that needs to be acked - transfer.finishing_timer = 0.75f; // TODO: we are receiving, we dont know delay + //transfer.finishing_timer = 0.75f; // TODO: we are receiving, we dont know delay + transfer.finishing_timer = FlowOnly::RTT_MAX; dispatch( NGCFT1_Event::recv_done,