<p></p>
<blockquote>
<p>I guess there is no possibility to perform another reload as long as the old hash table is not freed on timer. If yes, then fine for me</p>
</blockquote>
<p><a href="https://github.com/kamailio/kamailio/pull/2910/commits/7ce815c2612d6277b55aabf6519c70a4ecec6502#diff-ce4f68a3bf731efbaaa1d243de3f81a8c6a068fb2c8693195558dbda1b4bb389R228-R230">here</a>  I check that no reload was done before last tick.</p>
<p>if a reload is called before the timer interval, nothing changed. <a href="https://github.com/kamailio/kamailio/blob/7ce815c2612d6277b55aabf6519c70a4ecec6502/src/modules/permissions/trusted.c#L94-L100">reload_trusted_table</a> It was already removing the old previous values before loading new values there before the switch.</p>
<blockquote>
<p>the new modparm has to be documented, if not done.</p>
</blockquote>
<p>To be added if we agree in the implementation</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-961789106">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJMM3HCVALW4RE3MKDUKOX7JANCNFSM5G652SGQ">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/ABO7UZLGUTAEJCENSEZNGPTUKOX7JA5CNFSM5G652SG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHFJ3ZMQ.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-961789106",
"url": "https://github.com/kamailio/kamailio/pull/2910#issuecomment-961789106",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>