]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Always set async_operations to 1.
authorJoshua C. Colp <jcolp@sangoma.com>
Wed, 6 Apr 2022 10:23:27 +0000 (07:23 -0300)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 26 Apr 2022 16:08:12 +0000 (11:08 -0500)
commit8584ad425aca040f258031f4066e88e4fdb25b01
treeda98647978eec2429a51a125bb1fd6a610df6e21
parent5d3125fa716a690307883eb9558a56e2c20a7eed
res_pjsip: Always set async_operations to 1.

The async_operations setting on a transport configures how
many simultaneous incoming packets the transport can handle
when multiple threads are polling and waiting on the transport.
As we only use a single thread this was needlessly creating
incoming packets when set to a non-default value, wasting memory.

ASTERISK-30006

Change-Id: I1915973ef352862dc2852a6ba4cfce2ed536e68f
configs/samples/pjsip.conf.sample
doc/UPGRADE-staging/res_pjsip_async_operations.txt [new file with mode: 0644]
res/res_pjsip/config_transport.c
res/res_pjsip/pjsip_config.xml