From 53522a8307363499102f7f6001516730393bdea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuzhan=20Koral?= <45078678+oguzhankoral@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:48:59 +0300 Subject: [PATCH] Increase time span for ActionBlock (#232) --- DUI3/Speckle.Connectors.DUI/Bridge/BrowserBridge.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DUI3/Speckle.Connectors.DUI/Bridge/BrowserBridge.cs b/DUI3/Speckle.Connectors.DUI/Bridge/BrowserBridge.cs index 35f81451d..0255c46ac 100644 --- a/DUI3/Speckle.Connectors.DUI/Bridge/BrowserBridge.cs +++ b/DUI3/Speckle.Connectors.DUI/Bridge/BrowserBridge.cs @@ -108,7 +108,7 @@ public void AssociateWithBinding(IBinding binding) new ExecutionDataflowBlockOptions { MaxDegreeOfParallelism = 1000, - CancellationToken = new CancellationTokenSource(TimeSpan.FromHours(3)).Token // Not sure we need such a long time. //TODO: This token source is not disposed.... + CancellationToken = new CancellationTokenSource(TimeSpan.FromDays(10000)).Token // Do not change the timespan. This time defines the session time that we enable for user. } );