1
This commit is contained in:
parent
ce2679496a
commit
a986ff484d
@ -3,6 +3,7 @@
|
||||
#include <mutex>
|
||||
|
||||
#include <f8/utils.h>
|
||||
#include <f8/udplog.h>
|
||||
|
||||
#include "jsondatamgr.h"
|
||||
#include "app.h"
|
||||
@ -57,6 +58,24 @@ void JsonDataMgr::Init()
|
||||
|
||||
kcp_conf_.rx_minrto = kcp_conf_json_.At("rx_minrto")->AsXValue();
|
||||
kcp_conf_.fastresend = kcp_conf_json_.At("fastresend")->AsXValue();
|
||||
|
||||
f8::UdpLog::Instance()->Info
|
||||
(" kcp_conf sndwnd:%d rcvwnd:%d "
|
||||
"nodelay:%d interval:%d resend:%d nc:%d "
|
||||
"rx_minrto:%d fastresend:%d",
|
||||
{
|
||||
kcp_conf_.sndwnd,
|
||||
kcp_conf_.rcvwnd,
|
||||
|
||||
kcp_conf_.nodelay,
|
||||
kcp_conf_.interval,
|
||||
kcp_conf_.resend,
|
||||
kcp_conf_.nc,
|
||||
|
||||
kcp_conf_.rx_minrto,
|
||||
kcp_conf_.fastresend
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user