fix log
This commit is contained in:
parent
12f38f7685
commit
02ff9967fb
|
@ -100,7 +100,7 @@ void *taosInitScheduler(int32_t queueSize, int32_t numOfThreads, const char *lab
|
||||||
int32_t code = taosThreadCreate(pSched->qthread + i, &attr, taosProcessSchedQueue, (void *)pSched);
|
int32_t code = taosThreadCreate(pSched->qthread + i, &attr, taosProcessSchedQueue, (void *)pSched);
|
||||||
taosThreadAttrDestroy(&attr);
|
taosThreadAttrDestroy(&attr);
|
||||||
if (code != 0) {
|
if (code != 0) {
|
||||||
uError("%s: failed to create rpc thread(%s)", label, strerror(errno));
|
uError("%s: failed to create thread(%s)", label, strerror(errno));
|
||||||
taosCleanUpScheduler(pSched);
|
taosCleanUpScheduler(pSched);
|
||||||
if (schedMalloced) {
|
if (schedMalloced) {
|
||||||
taosMemoryFree(pSched);
|
taosMemoryFree(pSched);
|
||||||
|
|
Loading…
Reference in New Issue