client: Increase wqueue transmit length

Having a length of 10 packets is too low, it can be filled easily under
high load or really bursty traffic, where the input path could be polled
multiple times while the output path (write socket poll) is not called.

Related: SYS#5921
Change-Id: I72babfcc31e12624f30c16450dafd988192148be
This commit is contained in:
Pau Espin 2022-04-14 17:57:12 +02:00
parent d72581492f
commit 6bbda89308
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ void osmo_client_conn_init(struct osmo_pcap_client_conn *conn,
{
conn->client = client;
conn->tls_verify = true;
osmo_wqueue_init(&conn->wqueue, 10);
osmo_wqueue_init(&conn->wqueue, 1000);
conn->wqueue.bfd.fd = -1;
}