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

ConcurrentModificationException #399

Open
rajp33 opened this issue Jun 16, 2024 · 2 comments
Open

ConcurrentModificationException #399

rajp33 opened this issue Jun 16, 2024 · 2 comments
Assignees
Labels

Comments

@rajp33
Copy link

rajp33 commented Jun 16, 2024

I believe a fix was put out a while ago for ConcurrentModificationExceptions being thrown. We still see some being thrown here and there. Don't have much to go off of besides a stacktrace though. Not able to consistently reproduce it

Screenshot 2024-06-15 at 11 38 22 PM
@casbin-bot
Copy link
Member

@tangyang9464 @imp2002

@nodece
Copy link
Member

nodece commented Jun 29, 2024

Default enforce is non-thread-safe, you can switch to SyncedEnforcer, or you add a loading request to the single thread to avoid the concurrent issue.

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

No branches or pull requests

4 participants