Skip to content

Commit eec85d9

Browse files
committed
Log consistency tweaks
1 parent d849039 commit eec85d9

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

equinox-testbed/Storage.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module Cosmos =
8181
log.Information("CosmosDb {mode} {connection} Database {database} Container {container}",
8282
a.Mode, endpointUri, a.Database, a.Container)
8383
Log.Information("CosmosDb timeout {timeout}s; Throttling retries {retries}, max wait {maxRetryWaitTime}s",
84-
(let t = a.Timeout in t.TotalSeconds), a.Retries, a.MaxRetryWaitTime)
84+
(let t = a.Timeout in t.TotalSeconds), a.Retries, (let t = a.MaxRetryWaitTime in t.TotalSeconds))
8585
let connector = Connector(a.Timeout, a.Retries, a.MaxRetryWaitTime, storeLog, mode=a.Mode)
8686
discovery, a.Database, a.Container, connector
8787
let config (log: ILogger, storeLog) (cache, unfolds, batchSize) info =

propulsion-projector/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module CmdParser =
6666
Log.Information("CosmosDb {mode} {endpointUri} Database {database} Container {container}",
6767
x.Mode, endpointUri, x.Database, x.Container)
6868
Log.Information("CosmosDb timeout {timeout}s; Throttling retries {retries}, max wait {maxRetryWaitTime}s",
69-
(let t = x.Timeout in t.TotalSeconds), x.Retries, x.MaxRetryWaitTime)
69+
(let t = x.Timeout in t.TotalSeconds), x.Retries, (let t = x.MaxRetryWaitTime in t.TotalSeconds))
7070
let connector = Connector(x.Timeout, x.Retries, x.MaxRetryWaitTime, Log.Logger, mode=x.Mode)
7171
discovery, { database = x.Database; container = x.Container }, connector
7272

propulsion-summary-projector/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ module CmdParser =
259259
Log.Information("Source CosmosDb {mode} {endpointUri} Database {database} Container {container}",
260260
x.Mode, endpointUri, x.Database, x.Container)
261261
Log.Information("Source CosmosDb timeout {timeout}s; Throttling retries {retries}, max wait {maxRetryWaitTime}s",
262-
(let t = x.Timeout in t.TotalSeconds), x.Retries, x.MaxRetryWaitTime)
262+
(let t = x.Timeout in t.TotalSeconds), x.Retries, (let t = x.MaxRetryWaitTime in t.TotalSeconds))
263263
let connector = Equinox.Cosmos.Connector(x.Timeout, x.Retries, x.MaxRetryWaitTime, Log.Logger, mode=x.Mode)
264264
discovery, { database = x.Database; container = x.Container }, connector
265265
member val Sink =

propulsion-sync/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ module CmdParser =
203203
Log.Information("Source CosmosDb {mode} {endpointUri} Database {database} Container {container}",
204204
x.Mode, endpointUri, x.Database, x.Container)
205205
Log.Information("Source CosmosDb timeout {timeout}s; Throttling retries {retries}, max wait {maxRetryWaitTime}s",
206-
(let t = x.Timeout in t.TotalSeconds), x.Retries, x.MaxRetryWaitTime)
206+
(let t = x.Timeout in t.TotalSeconds), x.Retries, (let t = x.MaxRetryWaitTime in t.TotalSeconds))
207207
let c = Equinox.Cosmos.Connector(x.Timeout, x.Retries, x.MaxRetryWaitTime, Log.Logger, mode=x.Mode)
208208
discovery, { database = x.Database; container = x.Container }, c
209209

propulsion-tracking-consumer/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module CmdParser =
6565
Log.Information("CosmosDb {mode} {endpointUri} Database {database} Container {container}.",
6666
x.Mode, endpointUri, x.Database, x.Container)
6767
Log.Information("CosmosDb timeout {timeout}s; Throttling retries {retries}, max wait {maxRetryWaitTime}s",
68-
(let t = x.Timeout in t.TotalSeconds), x.Retries, x.MaxRetryWaitTime)
68+
(let t = x.Timeout in t.TotalSeconds), x.Retries, (let t = x.MaxRetryWaitTime in t.TotalSeconds))
6969
let! connection = Connector(x.Timeout, x.Retries, x.MaxRetryWaitTime, Log.Logger, mode=x.Mode).Connect(clientId,discovery)
7070
return Context(connection, x.Database, x.Container) }
7171

0 commit comments

Comments
 (0)