From bd5eab03a1099c8a7b023f06fb1904c91e65450b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Tue, 29 Sep 2020 14:14:26 +0200 Subject: [PATCH] SEBWIN-424: Increased timeout for service communication host. --- SafeExamBrowser.Service/CompositionRoot.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SafeExamBrowser.Service/CompositionRoot.cs b/SafeExamBrowser.Service/CompositionRoot.cs index e7345bdf..59cb8e13 100644 --- a/SafeExamBrowser.Service/CompositionRoot.cs +++ b/SafeExamBrowser.Service/CompositionRoot.cs @@ -37,6 +37,7 @@ namespace SafeExamBrowser.Service { const int ONE_SECOND = 1000; const int FIVE_SECONDS = 5000; + const int FIFTEEN_SECONDS = 15000; var backupFilePath = BuildBackupFilePath(); @@ -46,7 +47,7 @@ namespace SafeExamBrowser.Service var featureFactory = new FeatureConfigurationFactory(new ModuleLogger(logger, nameof(FeatureConfigurationFactory))); var featureMonitor = new FeatureConfigurationMonitor(new ModuleLogger(logger, nameof(FeatureConfigurationMonitor)), ONE_SECOND); var proxyFactory = new ProxyFactory(new ProxyObjectFactory(), new ModuleLogger(logger, nameof(ProxyFactory))); - var serviceHost = new ServiceHost(AppConfig.SERVICE_ADDRESS, new HostObjectFactory(), new ModuleLogger(logger, nameof(ServiceHost)), FIVE_SECONDS); + var serviceHost = new ServiceHost(AppConfig.SERVICE_ADDRESS, new HostObjectFactory(), new ModuleLogger(logger, nameof(ServiceHost)), FIFTEEN_SECONDS); var sessionContext = new SessionContext(); var systemConfigurationUpdate = new SystemConfigurationUpdate(new ModuleLogger(logger, nameof(SystemConfigurationUpdate)));