This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class RetryOutgoingGrainCallFilter : IOutgoingGrainCallFilter | |
| { | |
| private readonly TimeSpan _deadSiloDetectionTime; | |
| // First retry delay range for transient issues | |
| // Could be pulled from configuration if needed | |
| private static readonly TimeSpan FirstRetryMinDelay = TimeSpan.FromMilliseconds(10); | |
| private static readonly TimeSpan FirstRetryMaxDelay = TimeSpan.FromMilliseconds(200); | |
| // Propagation delay estimate for membership table updates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Concurrent; | |
| using Microsoft.Extensions.Logging; | |
| using Microsoft.Extensions.Options; | |
| using Orleans.Runtime.Services; | |
| using Orleans.Services; | |
| namespace Test.Orleans.SiloMetadata | |
| { | |
| [GenerateSerializer] | |
| public record SiloMetadata |