Skip to content

Add support for explicit table-level locks #205

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

Merged
merged 4 commits into from
Apr 6, 2023
Merged

Conversation

Photonios
Copy link
Member

No description provided.

@Photonios Photonios force-pushed the explicit-table-locking branch from 41b7423 to ecc1bf5 Compare April 4, 2023 06:38
@Photonios Photonios force-pushed the explicit-table-locking branch from ecc1bf5 to 63d8608 Compare April 4, 2023 08:08
lock_signature = (
"public",
mocked_model._meta.db_table,
"AccessExclusiveLock",
Copy link
Contributor

@sewi-cpan sewi-cpan Apr 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about using @pytest.mark.parametrize with PostgresTableLockMode to ensure that all lock modes are working?

@Photonios Photonios requested a review from sewi-cpan April 5, 2023 08:29
@Photonios Photonios merged commit c79a8ca into master Apr 6, 2023
@Photonios Photonios deleted the explicit-table-locking branch April 6, 2023 08:18
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.

2 participants