allow larger MGCP client wqueue: 10 -> 1024

Enlarge the MGCP client workqueue maximum limit by factor 100.

During Abis load testing, a BSC trying to DLCX 200 conns at the same time hit
the limit of 10 very very quickly, and everything broke down.

Change-Id: I8980cce37bae0757828b28455b25c77bcb6316d0
This commit is contained in:
Neels Hofmeyr 2020-03-10 03:55:35 +01:00
parent a48ff4a738
commit 3abced8d64
1 changed files with 1 additions and 1 deletions

View File

@ -828,7 +828,7 @@ int mgcp_client_connect(struct mgcp_client *mgcp)
inet_aton(mgcp->actual.remote_addr, &addr.sin_addr);
mgcp->remote_addr = htonl(addr.sin_addr.s_addr);
osmo_wqueue_init(wq, 10);
osmo_wqueue_init(wq, 1024);
wq->bfd.when = BSC_FD_READ;
wq->bfd.data = mgcp;
wq->read_cb = mgcp_do_read;