Skip to content

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
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))
@github-actions
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