]> git.ipfire.org Git - thirdparty/asterisk.git/commit
taskprocessor.c: Increase the number of tps_singletons container buckets.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 16 Jan 2018 14:32:20 +0000 (08:32 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 16 Jan 2018 14:32:20 +0000 (08:32 -0600)
commit1bbd9f4a47fb892d912950467ad889dc219d5d74
treeff76e1d64c0ed03596af5c0180c71e37f7678e9c
parent5ebb32d3e3dbf8d48d96e9746569fd1b29ff88af
taskprocessor.c: Increase the number of tps_singletons container buckets.

Since v12 the number of taskprocessors in the system has increased a lot.
Small systems can easily have over a hundred and larger systems can have
thousands.

Most uses of the tps_singletons container deal with creating and
destroying the taskprocessors.  However, the pjsip distributor looks up
taskprocessors/serializers by name frequently.  It needs to find the
serializer for incoming SIP responses to distribute them to the
appropriate serializer.

Change-Id: Ice0603606614ba49f7c0c316c524735c064e7e43
main/taskprocessor.c