From 6dff12cf7433c9a9da21770e8ff1a2cab0ad5ce6 Mon Sep 17 00:00:00 2001 From: area363 Date: Thu, 22 Aug 2024 12:29:27 +0900 Subject: [PATCH] prevent headless from stopping when acc redis is down --- NineChronicles.Headless/Services/RedisAccessControlService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NineChronicles.Headless/Services/RedisAccessControlService.cs b/NineChronicles.Headless/Services/RedisAccessControlService.cs index 78a3aec7c..19a203ef7 100644 --- a/NineChronicles.Headless/Services/RedisAccessControlService.cs +++ b/NineChronicles.Headless/Services/RedisAccessControlService.cs @@ -18,6 +18,7 @@ public RedisAccessControlService(string storageUri) EndPoints = { storageUri }, ConnectTimeout = 500, SyncTimeout = 500, + AbortOnConnectFail = false, }; var redis = ConnectionMultiplexer.Connect(configurationOptions);