From: lizhi <lizhi206@huawei.com> Increase ENGINE_ENV_RECV_MAX_CNT in uadk.h and PROV_SCH_RECV_MAX_CNT in uadk_prov.h from 60000 to 60000000 to offset the loop count decrease made by uadk in its async mode, ensuring balanced behavior under heavy asynchronous load. Signed-off-by: lizhi <lizhi206@huawei.com> --- src/uadk.h | 2 +- src/uadk_prov.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uadk.h b/src/uadk.h index 6baa968..2c52643 100644 --- a/src/uadk.h +++ b/src/uadk.h @@ -23,7 +23,7 @@ #define ENV_STRING_LEN 256 #define ENGINE_SEND_MAX_CNT 90000000 #define ENGINE_RECV_MAX_CNT 60000000 -#define ENGINE_ENV_RECV_MAX_CNT 60000 +#define ENGINE_ENV_RECV_MAX_CNT 60000000 #define UADK_UNINIT 0 #define UADK_INIT_SUCCESS 1 #define UADK_INIT_FAIL 2 diff --git a/src/uadk_prov.h b/src/uadk_prov.h index c802c71..41c61b6 100644 --- a/src/uadk_prov.h +++ b/src/uadk_prov.h @@ -30,7 +30,7 @@ #define POLL_ERROR (-1) #define PROV_SEND_MAX_CNT 90000000 #define PROV_RECV_MAX_CNT 60000000 -#define PROV_SCH_RECV_MAX_CNT 60000 +#define PROV_SCH_RECV_MAX_CNT 60000000 #define UADK_P_SUCCESS 1 #define UADK_P_FAIL 0 #define UADK_DO_SOFT (-0xE0) -- 2.53.0.windows.2