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: 修复并发请求API情况下的读写冲突问题 #1415

Merged

Conversation

Albort-z
Copy link
Contributor

CachedEnforcer不支持多并发场景,当API并发请求时服务会报出:fatal error: concurrent map writes。
解决方法:使用SyncedCachedEnforcer替换CachedEnforcer。
casbin版本: v2.68.0
由于v2.66.0有bug,重新提交

@piexlmax piexlmax merged commit 1bc4c5f into flipped-aurora:main Apr 24, 2023
8 checks passed
Stephen-Z pushed a commit to Stephen-Z/gin-vue-admin that referenced this pull request Jul 12, 2023
songzhibin97 pushed a commit that referenced this pull request Oct 11, 2023
Co-authored-by: 李展旗 <lizhanqi@inke.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant