<p></p>
<p>I am not using permissions with trusted table, but it looks like now it's going to be no parallel use of the in-memory table. It's safe against reloads done quickly one after the other, but all kamailio processes that do permissions check wait one after the other always.</p>
<p>If one ensures the reloads are not triggered quickly one after the other, then the patch is slowing down, specially if the number of records is high. An option would be to add a mod param to enable this lock or not at startup.</p>
<p>Anyhow, as I said, I am not using this feature, so I can't evaluate the impact. Maybe <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/juha-h/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/juha-h">@juha-h</a> can comment if he uses this feature, or some other devs.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2910#issuecomment-956012525">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOI7VQI2LBBOTGDRDTUJZCLTANCNFSM5G652SGQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZLHOQMYCSAV2PDFD4TUJZCLTA5CNFSM5G652SG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHD5ZP3I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2910#issuecomment-956012525",
"url": "https://github.com/kamailio/kamailio/pull/2910#issuecomment-956012525",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>