mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
WPF: Change network info debounce delay
This commit is contained in:
parent
80604b9abc
commit
b1f740b69e
|
@ -16,7 +16,7 @@ namespace BililiveRecorder.WPF
|
||||||
private static readonly ILogger logger = Log.ForContext(typeof(NetworkChangeDetector));
|
private static readonly ILogger logger = Log.ForContext(typeof(NetworkChangeDetector));
|
||||||
|
|
||||||
private static readonly object debounceLock = new();
|
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;
|
private static CancellationTokenSource? debounceTokenSource = null;
|
||||||
|
|
||||||
internal static void Enable()
|
internal static void Enable()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user