<p>Richard Mudgett has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7980">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">taskprocessor.c: Increase the number of tps_singletons container buckets.<br><br>Since v12 the number of taskprocessors in the system has increased a lot.<br>Small systems can easily have over a hundred and larger systems can have<br>thousands.<br><br>Most uses of the tps_singletons container deal with creating and<br>destroying the taskprocessors.  However, the pjsip distributor looks up<br>taskprocessors/serializers by name frequently.  It needs to find the<br>serializer for incoming SIP responses to distribute them to the<br>appropriate serializer.<br><br>Change-Id: Ice0603606614ba49f7c0c316c524735c064e7e43<br>---<br>M main/taskprocessor.c<br>1 file changed, 7 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/80/7980/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/taskprocessor.c b/main/taskprocessor.c<br>index 6793542..cf82eff 100644<br>--- a/main/taskprocessor.c<br>+++ b/main/taskprocessor.c<br>@@ -112,7 +112,13 @@<br>      void *user_data;<br> };<br> <br>-#define TPS_MAX_BUCKETS 7<br>+#ifdef LOW_MEMORY<br>+#define TPS_MAX_BUCKETS 61<br>+#else<br>+/*! \brief Number of buckets in the tps_singletons container. */<br>+#define TPS_MAX_BUCKETS 1567<br>+#endif<br>+<br> /*! \brief tps_singletons is the astobj2 container for taskprocessor singletons */<br> static struct ao2_container *tps_singletons;<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7980">change 7980</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7980"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ice0603606614ba49f7c0c316c524735c064e7e43 </div>
<div style="display:none"> Gerrit-Change-Number: 7980 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>