diff --git a/src/runtime/Elsa.Runtime.ProtoActor/Extensions/ServiceCollectionExtensions.cs b/src/runtime/Elsa.Runtime.ProtoActor/Extensions/ServiceCollectionExtensions.cs index 4c6b822c9..29c3a1f39 100644 --- a/src/runtime/Elsa.Runtime.ProtoActor/Extensions/ServiceCollectionExtensions.cs +++ b/src/runtime/Elsa.Runtime.ProtoActor/Extensions/ServiceCollectionExtensions.cs @@ -48,7 +48,7 @@ public static class ServiceCollectionExtensions ActorSystemConfig .Setup() .WithDeadLetterThrottleCount(3) - .WithDeadLetterThrottleInterval(TimeSpan.FromSeconds(1)) + .WithDeadLetterThrottleInterval(TimeSpan.FromSeconds(10000)) .WithDeveloperSupervisionLogging(true) .WithDeadLetterRequestLogging(true); @@ -69,6 +69,10 @@ public static class ServiceCollectionExtensions ClusterConfig // .Setup("MyCluster", clusterProvider, new IdentityStorageLookup(GetIdentityLookup(clusterName))) .Setup(clusterName, clusterProvider, new PartitionIdentityLookup()) + .WithTimeout(TimeSpan.FromHours(1)) + .WithActorRequestTimeout(TimeSpan.FromHours(1)) + .WithActorActivationTimeout(TimeSpan.FromHours(1)) + .WithActorSpawnTimeout(TimeSpan.FromHours(1)) .WithClusterKind(GrainKinds.WorkflowDefinition, workflowDefinitionProps) .WithClusterKind(GrainKinds.WorkflowInstance, workflowInstanceProps) ;