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

Cosmos: Merge Connector+Connection as CosmosStoreClient #280

Merged
merged 7 commits into from
Mar 24, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove duplicate comment
  • Loading branch information
bartelink committed Mar 24, 2021
commit 0c6a89f7f560a0d80ff5fac6b31fd15de26f702c
1 change: 0 additions & 1 deletion tests/Equinox.CosmosStore.Integration/CosmosFixtures.fs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ let discoverConnection () =

let createClient (log : Serilog.ILogger) name discovery =
let factory = CosmosClientFactory(requestTimeout=TimeSpan.FromSeconds 3., maxRetryAttemptsOnRateLimitedRequests=2, maxRetryWaitTimeOnRateLimitedRequests=TimeSpan.FromMinutes 1.)
// For normal usage, it's recommended to use CosmosStoreClient.Connect()
let client = factory.CreateUninitialized discovery
log.Information("CosmosDB Connecting {name} to {endpoint}", name, client.Endpoint)
client
Expand Down