Skip to content

Commit b9bfd9b

Browse files
committed
modify:message header size
1 parent 7797ed3 commit b9bfd9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

XEngine_Source/XQueue_ProtocolHdr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ typedef struct
109109
//消息队列服务协议
110110
typedef struct
111111
{
112-
XCHAR tszMQKey[XPATH_MAX]; //此消息的KEY,不填就是 XEngine_CommKey
113-
XCHAR tszMQUsr[XPATH_MAX]; //此消息接受用户
112+
XCHAR tszMQKey[XPATH_MIN]; //此消息的KEY,不填就是 XEngine_CommKey
113+
XCHAR tszMQUsr[XPATH_MIN]; //此消息接受用户
114114
__int64x nSerial; //包序列号
115115
__int64x nPubTime; //发布时间,根据自己需求配置时区,-1表示投递的消息通过用户主动获取,0表示即时发布消息给当前订阅的在线用户,>0表示发布的日期
116116
int nKeepTime; //可用时间,单位秒,>0 超时秒数

0 commit comments

Comments
 (0)