You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mochi-co , are you ok in changing the order of all the inline checks, one example is:
from if !s.hooks.OnACLCheck(cl, pk.TopicName, true) && !cl.Net.Inline { return nil }
to if !cl.Net.Inline && !s.hooks.OnACLCheck(cl, pk.TopicName, true) { return nil }
This avoids unnecessary processing and error logs from custom ACL hook.
The text was updated successfully, but these errors were encountered:
Hi,
@mochi-co , are you ok in changing the order of all the inline checks, one example is:
from
if !s.hooks.OnACLCheck(cl, pk.TopicName, true) && !cl.Net.Inline { return nil }
to
if !cl.Net.Inline && !s.hooks.OnACLCheck(cl, pk.TopicName, true) { return nil }
This avoids unnecessary processing and error logs from custom ACL hook.
The text was updated successfully, but these errors were encountered: