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

fix: Update helper for loading policies #293

Merged
merged 1 commit into from Sep 6, 2022

Conversation

damienmiheev
Copy link
Contributor

@damienmiheev damienmiheev commented Sep 1, 2022

Improve index calculation on policy loading.

Fix: jcasbin/jdbc-adapter#56

@casbin-bot
Copy link
Member

@tangyang9464 @imp2002 please review

@hsluoyz
Copy link
Member

hsluoyz commented Sep 1, 2022

@damienmiheev
Copy link
Contributor Author

@hsluoyz any ideas when this can be reviewed?
i was testing in my app with ~100k policy rows, and it was improved from ~50sec to 1-2sec

@hsluoyz hsluoyz merged commit 41bf788 into casbin:master Sep 6, 2022
@github-actions
Copy link

github-actions bot commented Sep 6, 2022

🎉 This PR is included in version 1.28.1 🎉

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.

Load policies is slow
3 participants