!8405 modify tcp keepalive parameters

Merge pull request !8405 from 刘强/master
This commit is contained in:
openharmony_ci 2024-11-20 06:56:32 +00:00 committed by Gitee
commit dcff287354
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -30,9 +30,9 @@
#include "trans_server_proxy.h"
#define HEART_TIME 300
#define TCP_KEEPALIVE_INTERVAL 2
#define TCP_KEEPALIVE_INTERVAL 4
#define TCP_KEEPALIVE_COUNT 5
#define USER_TIME_OUT (305 * 1000)
#define USER_TIME_OUT (320 * 1000)
static SoftBusList *g_tcpDirectChannelInfoList = NULL;