From 2f3fa7a12622af7d1edf344e24b27aca89a4e202 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Tue, 4 Jan 2022 14:31:44 +0100 Subject: [PATCH] Increase timeout for debugging --- .../Extensions/ServiceCollectionExtensions.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) ;