4 references to MaxRetriesAttempt
Aspire.Hosting.MongoDB (4)
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (4)
169
for (var retries = 0; retries <
MaxRetriesAttempt
; retries++)
320
if (!configured && retries <
MaxRetriesAttempt
- 1)
322
logger.LogInformation("MongoDB replica set configuration retry attempt {Current}/{Max} will begin after {WaitIntervalSeconds} seconds", retries + 1,
MaxRetriesAttempt
, s_rsInitiationRetryWaitInterval.TotalSeconds);
335
$"Failed to configure MongoDB replica set resource '{resource.Name}' after {
MaxRetriesAttempt
} attempts.{(lastConfigurationError is null ? "" : $" The last error reported by MongoDB was: {lastConfigurationError.Message}")}",