Skip to content

Commit

Permalink
Fix missing SQL query configuration file (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus authored Jul 14, 2023
1 parent 830235f commit 465e87e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Akka.Persistence.Sql.Hosting/HostingExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ public static AkkaConfigurationBuilder WithSqlPersistence(
(_, null) =>
builder
.AddHocon(journalOptions.ToConfig(), HoconAddMode.Prepend)
.AddHocon(journalOptions.DefaultConfig, HoconAddMode.Append),
.AddHocon(journalOptions.DefaultConfig, HoconAddMode.Append)
.AddHocon(SqlPersistence.DefaultConfiguration, HoconAddMode.Append),

(null, _) =>
builder
Expand All @@ -313,7 +314,8 @@ public static AkkaConfigurationBuilder WithSqlPersistence(
.AddHocon(journalOptions.ToConfig(), HoconAddMode.Prepend)
.AddHocon(snapshotOptions.ToConfig(), HoconAddMode.Prepend)
.AddHocon(journalOptions.DefaultConfig, HoconAddMode.Append)
.AddHocon(snapshotOptions.DefaultConfig, HoconAddMode.Append),
.AddHocon(snapshotOptions.DefaultConfig, HoconAddMode.Append)
.AddHocon(SqlPersistence.DefaultConfiguration, HoconAddMode.Append),
};
}
}
Expand Down

0 comments on commit 465e87e

Please sign in to comment.