mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-05 18:13:27 +00:00
fix jb bug where once its full size it will never shrink due to logic err
This commit is contained in:
parent
f7210b2402
commit
397ec5ae1d
@ -270,7 +270,7 @@ stfu_status_t _stfu_n_resize(stfu_instance_t *i, int32_t qlen, int line)
|
|||||||
stfu_status_t s;
|
stfu_status_t s;
|
||||||
int32_t incr = qlen;
|
int32_t incr = qlen;
|
||||||
|
|
||||||
if (i->qlen == i->max_qlen) {
|
if (incr > 0 && i->qlen == i->max_qlen) {
|
||||||
return STFU_IT_FAILED;
|
return STFU_IT_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user