Merge remote-tracking branch 'origin/3.0' into enh/opt-transport

This commit is contained in:
yihaoDeng 2024-10-11 14:38:57 +08:00
parent ecfe407f32
commit f2ebc9236c
1 changed files with 2 additions and 2 deletions

View File

@ -3869,8 +3869,8 @@ int32_t transHeapBalance(SHeap* heap, SCliConn* p) {
if (p->inHeap == 0 && heap == NULL || heap->heap == NULL) {
return 0;
}
if (heap->heap->nelts >= 64) {
tDebug("conn %p heap busy,heap size:%d", heap->heap->nelts);
if (heap->heap->nelts >= 32) {
tTrace("conn %p heap busy,heap size:%d", heap->heap->nelts);
}
heapRemove(heap->heap, &p->node);
heapInsert(heap->heap, &p->node);