From 1f782bffc7730966927bc3780a66416fa02346e1 Mon Sep 17 00:00:00 2001
From: azurecloudminingscript <azurecloudminingscript@gmail.com>
Date: Sat, 23 Nov 2019 18:52:15 +0100
Subject: [PATCH]

---
 azure_script/run_xmr_stak.pl | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/azure_script/run_xmr_stak.pl b/azure_script/run_xmr_stak.pl
index 80cccc2..f4cea7b 100755
--- a/azure_script/run_xmr_stak.pl
+++ b/azure_script/run_xmr_stak.pl
@@ -329,11 +329,15 @@ do
 {
 
     $Threads=`nproc`;
-    $Intensity=$Threads;
-    if($Intensity>1)
-    {
-        $Intensity-=1;
-    }
+    
+    $Intensity=1;
+#     $Intensity=$Threads;
+#     if($Intensity>1)
+#     {
+#         $Intensity-=1;
+#     }
+#     
+
 
     my $OldHash=0;
     my $CurHash=0;
@@ -345,6 +349,8 @@ do
         
         CreateUserConfig($Threads, $Intensity,15);
         $CurHash=GetHashRate();
+        
+        print "Measured hashrate: $CurHash\n";
     }
     while($CurHash>$OldHash);
 
-- 
GitLab