-
Notifications
You must be signed in to change notification settings - Fork 27
Persistence seam adoption #1822
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
Conversation
| { | ||
| Defaults(s => | ||
| { | ||
| var defaultsAppliedSettingsKey = "NServiceBus.Persistence.Sql.DefaultsApplied"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See 256ea09
Pretty sure this was needed because when you specified UsePersistence multiple times, there were multiple instances of the class we applied the defaults for, which would have led to a duplicate key exception due to the diagnostic section key already being used.
The new persistence seam will create the SqlPersistence only once
// cc @andreasohlund
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense 🥳❤️
41533b1 to
8f4ea33
Compare
8f4ea33 to
86b1105
Compare
Leverages Particular/NServiceBus#7436