<div dir="ltr"><div><div><div><div><div>Hi<br><br></div>We have noticed when using pua module with db_mode set to 1 the lock type defaults to DB_LOCKING_WRITE which locks the whole table and can cause performance issues.<br><br></div>I noticed this fix for the presence module last year specifically on this issue:<br><a href="http://lists.kamailio.net/pipermail/sr-dev/2014-January/022820.html">http://lists.kamailio.net/pipermail/sr-dev/2014-January/022820.html</a><br><br></div>I've attached an almost identical patch for pua I want to commit.  The patch makes this a configurable parameter that defaults to DB_LOCKING_WRIT. </div><div><br></div>If no one raises any concerns I will go ahead and commit.<br><br></div>Regards<br>Richard.<br></div>

<br>
<span><font color="#888888"><pre>This email is subject to the disclaimer of Smile Communications at <a href="http://www.smilecoms.com/home/email-disclaimer/" target="_blank">http://www.smilecoms.com/home/<WBR>email-disclaimer/</a><a href="http://www.smilecoms.com/disclaimer" target="_blank"></a></pre></font></span>