diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index 52ede2318f..1f54417686 100644 --- a/src/client/src/tscSystem.c +++ b/src/client/src/tscSystem.c @@ -154,6 +154,7 @@ void taos_init_imp(void) { if (tscNumOfThreads < 2) { tscNumOfThreads = 2; } + taosTmrThreads = tscNumOfThreads; tscQhandle = taosInitScheduler(queueSize, tscNumOfThreads, "tsc"); if (NULL == tscQhandle) {