You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
optimize: corrected the initial table size of req socket objects.
The req socket uses two slots in array and three slots in hash at most.
At first it uses one array slot and one hash slot:
array part: upstream udata
hash part: __index
After calling settimeouts, it uses two array slots and three hash slots:
array part:
[1] upstream udata
[2] connect timeout
hash part:
__index
[4] send timeout
[5] read timeout
Signed-off-by: Yichun Zhang (agentzh) <[email protected]>
0 commit comments