Hello,
I checked the code of Synced Enforcer, is there a reason to use a static Lock ?
private final static ReentrantReadWriteLock READ_WRITE_LOCK = new ReentrantReadWriteLock();
Instead of using a lock per enforcer, this can optimize time response
it has been fixed in: https://github.com/casbin/jcasbin/pull/467
Thanxs
is there any date for next version including this optimization ?
Join the conversation
Sign up to reply, like and follow topics.
Suggested Topics
Want to read more? Browse other topics in Casbin or view latest topics.
1 / 6
Dec 2025
