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