Skip to content

Comments

Only release lock when watching subscriptions if it was actually acquired#5

Merged
prochnowc merged 1 commit intoAppCoreNet:mainfrom
sdc-ad:features/multiple-instances
Mar 6, 2025
Merged

Only release lock when watching subscriptions if it was actually acquired#5
prochnowc merged 1 commit intoAppCoreNet:mainfrom
sdc-ad:features/multiple-instances

Conversation

@sdc-ad
Copy link
Contributor

@sdc-ad sdc-ad commented Mar 6, 2025

The watch subscriptions stored procedure always attempts to release the lock regardless of whether it successfully acquired the lock or not.

This causes the procedure to fail sometimes when running multiple instances of the same application.

@prochnowc prochnowc merged commit ac84315 into AppCoreNet:main Mar 6, 2025
5 checks passed
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