From b1f740b69e75f1acaa2af8f7b8e6d4212461e490 Mon Sep 17 00:00:00 2001 From: genteure Date: Thu, 7 Jul 2022 20:48:32 +0800 Subject: [PATCH] WPF: Change network info debounce delay --- BililiveRecorder.WPF/NetworkChangeDetector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BililiveRecorder.WPF/NetworkChangeDetector.cs b/BililiveRecorder.WPF/NetworkChangeDetector.cs index 27304d8..98faa6d 100644 --- a/BililiveRecorder.WPF/NetworkChangeDetector.cs +++ b/BililiveRecorder.WPF/NetworkChangeDetector.cs @@ -16,7 +16,7 @@ namespace BililiveRecorder.WPF private static readonly ILogger logger = Log.ForContext(typeof(NetworkChangeDetector)); private static readonly object debounceLock = new(); - private static readonly TimeSpan debounceDelay = TimeSpan.FromSeconds(15); + private static readonly TimeSpan debounceDelay = TimeSpan.FromSeconds(10); private static CancellationTokenSource? debounceTokenSource = null; internal static void Enable()