Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Expose getter and setter of aviatorEval for more customization #359

Merged
merged 2 commits into from
Sep 17, 2023

Conversation

HasonHuang
Copy link
Contributor

  • Expose getter and setter of aviatorEval for more customization.

For example, In concurrent processing scenarios, Enforcer uses ThreadLocal to manage multiple instances, but the AviatorEvaluatorInstance is a singleton, or custom configuration (enabling logging, performance optimization).

@casbin-bot
Copy link
Member

@tangyang9464 @imp2002 please review

@codecov-commenter
Copy link

codecov-commenter commented Sep 17, 2023

Codecov Report

Merging #359 (3842519) into master (3d22ec5) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #359      +/-   ##
==========================================
+ Coverage   69.37%   69.46%   +0.08%     
==========================================
  Files          49       49              
  Lines        2237     2240       +3     
  Branches      398      398              
==========================================
+ Hits         1552     1556       +4     
+ Misses        574      573       -1     
  Partials      111      111              
Files Changed Coverage Δ
...ain/java/org/casbin/jcasbin/main/CoreEnforcer.java 77.62% <100.00%> (+0.57%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hsluoyz hsluoyz merged commit 7297b01 into casbin:master Sep 17, 2023
1 check passed
@github-actions
Copy link

🎉 This PR is included in version 1.40.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants