forked from openmobilityfoundation/mds-core
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating .isPolicyPublished and .readPolicies to take an optional con… (
#1058) * Updating .isPolicyPublished and .readPolicies to take an optional connection parameter and using it in the .publishPolicy code path to avoid a race condition where the DB reader has not received all policies yet, thus causing the publish function to believe the policy that needs publishing does not exist yet * minor fixes * minor fixes * minor fixes
- Loading branch information
Showing
2 changed files
with
38 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@mds-core/mds-policy-service": patch | ||
--- | ||
|
||
Updating .isPolicyPublished and .readPolicies to take an optional connection parameter and using it in the .publishPolicy code path to avoid a race condition where the DB reader has not received all policies yet, thus causing the publish function to believe the policy that needs publishing does not exist yet' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters