Skip to content
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

Use the configuration with fallback for snapshot store #112

Merged
merged 3 commits into from
Jun 21, 2019

Conversation

lesscodetxm
Copy link
Contributor

No description provided.

@Aaronontheweb
Copy link
Member

@izavala looks like we're going to need to get this project migrated onto Azure pipelines as well then, since TeamCity is currently offline.

@Aaronontheweb
Copy link
Member

@lesscodetxm ok, build system is back up and running properly again - going to re-run these tests.

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -28,7 +28,7 @@ public SqlServerSnapshotStore(Config config) : base(config)
manifestColumnName: "Manifest",
timestampColumnName: "Timestamp",
serializerIdColumnName: "SerializerId",
timeout: sqlConfig.GetTimeSpan("connection-timeout"),
timeout: config.GetTimeSpan("connection-timeout"),
Copy link
Member

Choose a reason for hiding this comment

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

I see the real issue was this line:

snapshotTableName: config.GetString("table-name"),

Before your change, config never had the fallback itself - that was applied, immutably, afterwards. This makes sense now.

@Aaronontheweb Aaronontheweb merged commit 46bde1d into akkadotnet:dev Jun 21, 2019
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