Skip to content

Commit

Permalink
Fixed misprint
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsus committed Apr 3, 2018
1 parent 5063a2b commit 2fc01e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class PostgreSqlSnapshotStore : SqlSnapshotStore
public PostgreSqlSnapshotStoreSettings SnapshotSettings { get; }
public PostgreSqlSnapshotStore(Config snapshotConfig) : base(snapshotConfig)
{
var config = snapshotConfig.WithFallback(Extension.DefaultJournalConfig);
var config = snapshotConfig.WithFallback(Extension.DefaultSnapshotConfig);
StoredAsType storedAs;
var storedAsString = config.GetString("stored-as");
if (!Enum.TryParse(storedAsString, true, out storedAs))
Expand Down
5 changes: 4 additions & 1 deletion src/Akka.Persistence.PostgreSql/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
class = "Akka.Persistence.PostgreSql.Snapshot.PostgreSqlSnapshotStore, Akka.Persistence.PostgreSql"

# dispatcher used to drive journal actor
plugin-dispatcher = ""akka.actor.default-dispatcher""
plugin-dispatcher = "akka.actor.default-dispatcher"

# connection string used for database access
connection-string = ""
Expand All @@ -61,6 +61,9 @@

# should corresponding journal table be initialized automatically
auto-initialize = off

# Postgres data type for payload column. Allowed options: bytea, json, jsonb
stored-as = bytea
}
}
}

0 comments on commit 2fc01e6

Please sign in to comment.