mirror of https://gerrit.osmocom.org/osmo-pcap
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:
parent
d72581492f
commit
6bbda89308
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue