This commit is contained in:
azw 2023-05-07 07:27:47 +00:00
parent 90d4fbac8c
commit b1efd4bb24
3 changed files with 2 additions and 4 deletions

View File

@ -37,3 +37,5 @@ const int MAX_NODE_ID = 8;
const int MAX_INSTANCE_ID = 500;
const int ALLOC_TARGET_SERVER_SUCCESS_TIMER_EVENT = a8::TIMER_USER_EVENT + 1;
const int PACK_MAX = 1024 * 64;

View File

@ -13,8 +13,6 @@
#include "app.h"
const int PACK_MAX = 1024 * 64;
void Master::Init(int instance_id, const std::string& remote_ip, int remote_port)
{
this->instance_id = instance_id;

View File

@ -14,8 +14,6 @@
#include "app.h"
const int PACK_MAX = 1024 * 64 * 2;
void UpStream::Init(int instance_id, const std::string& remote_ip, int remote_port)
{
if (remote_ip.empty()) {