opt batch num
This commit is contained in:
parent
d17de8b32b
commit
74ab689719
|
@ -16,7 +16,7 @@
|
||||||
#include "streamInc.h"
|
#include "streamInc.h"
|
||||||
#include "ttimer.h"
|
#include "ttimer.h"
|
||||||
|
|
||||||
#define STREAM_TASK_INPUT_QUEUEU_CAPACITY 102400
|
#define STREAM_TASK_INPUT_QUEUEU_CAPACITY 20480
|
||||||
|
|
||||||
int32_t streamInit() {
|
int32_t streamInit() {
|
||||||
int8_t old;
|
int8_t old;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
#include "streamInc.h"
|
#include "streamInc.h"
|
||||||
|
|
||||||
#define STREAM_EXEC_MAX_BATCH_NUM 20480
|
#define STREAM_EXEC_MAX_BATCH_NUM 10240
|
||||||
|
|
||||||
bool streamTaskShouldStop(const SStreamStatus* pStatus) {
|
bool streamTaskShouldStop(const SStreamStatus* pStatus) {
|
||||||
int32_t status = atomic_load_8((int8_t*) &pStatus->taskStatus);
|
int32_t status = atomic_load_8((int8_t*) &pStatus->taskStatus);
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include "tcompare.h"
|
#include "tcompare.h"
|
||||||
#include "ttimer.h"
|
#include "ttimer.h"
|
||||||
|
|
||||||
#define MAX_TABLE_NAME_NUM 100000
|
#define MAX_TABLE_NAME_NUM 2000000
|
||||||
|
|
||||||
int sessionRangeKeyCmpr(const SSessionKey* pWin1, const SSessionKey* pWin2) {
|
int sessionRangeKeyCmpr(const SSessionKey* pWin1, const SSessionKey* pWin2) {
|
||||||
if (pWin1->groupId > pWin2->groupId) {
|
if (pWin1->groupId > pWin2->groupId) {
|
||||||
|
|
Loading…
Reference in New Issue