From a0be70612ea164c93b96ee7cfd76785745f8d86d Mon Sep 17 00:00:00 2001 From: Christian Hermann Date: Mon, 3 Dec 2018 18:08:32 +0100 Subject: [PATCH] Slow down QueryLog See #337 --- SimpleDnsCrypt/ViewModels/QueryLogViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimpleDnsCrypt/ViewModels/QueryLogViewModel.cs b/SimpleDnsCrypt/ViewModels/QueryLogViewModel.cs index 0c0e751c..01e6b520 100644 --- a/SimpleDnsCrypt/ViewModels/QueryLogViewModel.cs +++ b/SimpleDnsCrypt/ViewModels/QueryLogViewModel.cs @@ -244,7 +244,7 @@ await Task.Run(() => while (_isQueryLogLogging) { - Thread.Sleep(200); + Thread.Sleep(500); //if the file size has not changed, idle if (reader.BaseStream.Length == lastMaxOffset) continue;