-
Notifications
You must be signed in to change notification settings - Fork 1k
/
sqlite.conf
92 lines (69 loc) · 3.3 KB
/
sqlite.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
akka.persistence{
journal {
plugin = "akka.persistence.journal.sqlite"
sqlite {
# qualified type name of the SQLite persistence journal actor
class = "Akka.Persistence.Sqlite.Journal.SqliteJournal, Akka.Persistence.Sqlite"
# dispatcher used to drive journal actor
plugin-dispatcher = "akka.actor.default-dispatcher"
# connection string used for database access
connection-string = ""
# connection string name for .config file used when no connection string has been provided
connection-string-name = ""
# default SQLite commands timeout
connection-timeout = 30s
# SQLite table corresponding with persistent journal
table-name = event_journal
# metadata table
metadata-table-name = journal_metadata
# should corresponding journal table be initialized automatically
auto-initialize = off
# timestamp provider used for generation of journal entries timestamps
timestamp-provider = "Akka.Persistence.Sql.Common.Journal.DefaultTimestampProvider, Akka.Persistence.Sql.Common"
# The isolation level of all database read query.
# Isolation level documentation can be read here:
# https://learn.microsoft.com/en-us/dotnet/api/system.data.isolationlevel?#fields
# Valid values: "read-committed", "read-uncommitted", "repeatable-read", "serializable", "snapshot", or "unspecified"
read-isolation-level = unspecified
# The isolation level of all database read query.
# Isolation level documentation can be read here:
# https://learn.microsoft.com/en-us/dotnet/api/system.data.isolationlevel?#fields
# Valid values: "read-committed", "read-uncommitted", "repeatable-read", "serializable", "snapshot", or "unspecified"
write-isolation-level = unspecified
circuit-breaker {
max-failures = 5
call-timeout = 20s
reset-timeout = 60s
}
}
}
snapshot-store {
plugin = "akka.persistence.snapshot-store.sqlite"
sqlite {
# qualified type name of the SQLite persistence journal actor
class = "Akka.Persistence.Sqlite.Snapshot.SqliteSnapshotStore, Akka.Persistence.Sqlite"
# dispatcher used to drive journal actor
plugin-dispatcher = "akka.actor.default-dispatcher"
# connection string used for database access
connection-string = ""
# connection string name for .config file used when no connection string has been provided
connection-string-name = ""
# default SQLite commands timeout
connection-timeout = 30s
# SQLite table corresponding with persistent journal
table-name = snapshot
# should corresponding journal table be initialized automatically
auto-initialize = off
# The isolation level of all database read query.
# Isolation level documentation can be read here:
# https://learn.microsoft.com/en-us/dotnet/api/system.data.isolationlevel?#fields
# Valid values: "read-committed", "read-uncommitted", "repeatable-read", "serializable", "snapshot", or "unspecified"
read-isolation-level = unspecified
# The isolation level of all database read query.
# Isolation level documentation can be read here:
# https://learn.microsoft.com/en-us/dotnet/api/system.data.isolationlevel?#fields
# Valid values: "read-committed", "read-uncommitted", "repeatable-read", "serializable", "snapshot", or "unspecified"
write-isolation-level = unspecified
}
}
}