enh: write performance optimization

This commit is contained in:
Xiaoyu Wang 2022-07-30 20:26:41 +08:00
parent 5a3c377c68
commit 22c1cc4bf0
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ extern "C" {
#define ERROR_MSG_BUF_DEFAULT_SIZE 512
#define HEARTBEAT_INTERVAL 1500 // ms
#define SYNC_ON_TOP_OF_ASYNC 0
#define SYNC_ON_TOP_OF_ASYNC 1
enum {
RES_TYPE__QUERY = 1,