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: nested session causes deadlock #67

Merged
merged 1 commit into from
May 30, 2024

Conversation

yenchenLiu
Copy link
Contributor

I am using MySQL and tried migrating the policy from a local file to my database.
But I found the database was locked, then figured out it was because the saving function is waiting for the previous session to be released

@casbin-bot
Copy link

@Nekotoxin please review

@casbin-bot casbin-bot requested a review from Nekotoxin May 30, 2024 00:36
@CLAassistant
Copy link

CLAassistant commented May 30, 2024

CLA assistant check
All committers have signed the CLA.

@hsluoyz hsluoyz changed the title fix: nested session cause deadlock feat: nested session causes deadlock May 30, 2024
@hsluoyz hsluoyz merged commit d4eedda into pycasbin:master May 30, 2024
12 checks passed
github-actions bot pushed a commit that referenced this pull request May 30, 2024
# [1.2.0](v1.1.0...v1.2.0) (2024-05-30)

### Features

* nested session causes deadlock ([#67](#67)) ([d4eedda](d4eedda))
Copy link

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@yenchenLiu yenchenLiu deleted the fix-deadlock branch May 30, 2024 03:01
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