From d6f14a559a70f005a5a156924450de7d81b26050 Mon Sep 17 00:00:00 2001 From: Useless Guru <30080938+UselessGuru@users.noreply.github.com> Date: Sat, 3 Sep 2022 14:27:46 +0200 Subject: [PATCH] Update NemosMiner.ps1 Less flickering, reduce CPU load --- NemosMiner.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NemosMiner.ps1 b/NemosMiner.ps1 index 56386425d4..367c2fe96d 100644 --- a/NemosMiner.ps1 +++ b/NemosMiner.ps1 @@ -967,6 +967,9 @@ Function Global:TimerUITick { # Refresh selected tab Update-TabControl + # Keep only 100 lines, more lines impact performance + $Variables.LabelStatus.Lines = @($Variables.LabelStatus.Lines | Select-Object -Last 100) + If ($EditConfigLink.Tag -eq "WebGUI" ) { $EditConfigLink.Text = "Edit configuration in the Web GUI" }