Skip to content

Commit

Permalink
Update expiration timeout to be less tight
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Apr 24, 2018
1 parent 44c8870 commit 2d22801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Samples/Store/Integration/EventStoreIntegration.fs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ open System
/// 2. & $env:ProgramData\chocolatey\bin\EventStore.ClusterNode.exe --gossip-on-single-node --discover-via-dns 0 --ext-http-port=30778
/// (the normal external port also hosts the server metadata endpoint; with above, can see gossip info by going to http://127.0.0.1:30778/gossip)
let connectToLocalEventStoreNode log =
GesConnector("admin", "changeit", reqTimeout=TimeSpan.FromSeconds 1., reqRetries=3, requireMaster=true, log=Logger.SerilogVerbose log)
GesConnector("admin", "changeit", reqTimeout=TimeSpan.FromSeconds 3., reqRetries=3, requireMaster=true, log=Logger.SerilogVerbose log)
.Connect(Discovery.GossipDns "localhost")
// or equivalent: .ConnectViaGossipAsync("localhost")
let defaultBatchSize = 500
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ open System
/// PS> & $env:ProgramData\chocolatey\bin\EventStore.ClusterNode.exe --gossip-on-single-node --discover-via-dns 0 --ext-http-port=30778
/// (NB for this specific suite only, omitting the arguments will also work as the Gossip-related ports are not relevant, but other tests would fail)
let connectToLocalEventStoreNode log =
GesConnector("admin", "changeit", reqTimeout=TimeSpan.FromSeconds 1., reqRetries=3, requireMaster=true, log=Logger.SerilogVerbose log)
GesConnector("admin", "changeit", reqTimeout=TimeSpan.FromSeconds 3., reqRetries=3, requireMaster=true, log=Logger.SerilogVerbose log)
.Connect(Discovery.Uri(Uri "tcp://localhost:1113"))
let defaultBatchSize = 500
let createGesGateway connection batchSize = GesGateway(connection, GesBatchingPolicy(maxBatchSize = batchSize))
Expand Down

0 comments on commit 2d22801

Please sign in to comment.