RegardsI'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.I noticed this fix for the presence module last year specifically on this issue:HiWe 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.
http://lists.kamailio.net/pipermail/sr-dev/2014-January/022820.htmlIf no one raises any concerns I will go ahead and commit.
Richard.
This email is subject to the disclaimer of Smile Communications at http://www.smilecoms.com/home/email-disclaimer/
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev