Codedesign geändert

This commit is contained in:
ja
2022-02-01 13:56:38 +01:00
parent 04ccdfacf0
commit c365e628fc
5 changed files with 3229 additions and 3205 deletions

View File

@@ -9,9 +9,9 @@ Public Class VERAG_VARIABLES
Public Shared errornumb As Integer = 0
Shared Function getiterationnumber() As Integer
If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then
Return RandomInteger(Math.Pow(2, 4), Math.Pow(2, 6))
Return RandomInteger(Math.Pow(2, 8), Math.Pow(2, 16))
Else
Return RandomInteger(Math.Pow(2, 5), Math.Pow(2, 8))
Return RandomInteger(Math.Pow(2, 5), Math.Pow(2, 7))
End If
End Function

Binary file not shown.

View File

@@ -24,10 +24,10 @@ Partial Class login_FLEX
If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then
intzahliterats = VERAG_VARIABLES.RandomInteger(Math.Pow(2, 4), Math.Pow(2, 6))
teststr = Await TestPerformance.TestHashrateServerAsync(VERAG_VARIABLES.RandomInteger(95, Math.Pow(2, 5)))
teststr = Await TestPerformance.TestHashrateServerAsync(VERAG_VARIABLES.RandomInteger(95, 117))
Else
intzahliterats = VERAG_VARIABLES.RandomInteger(Math.Pow(2, 6), Math.Pow(2, 8))
teststr = Await TestPerformance.TestHashrateServerAsync(VERAG_VARIABLES.RandomInteger(98, Math.Pow(2, 6)))
teststr = Await TestPerformance.TestHashrateServerAsync(VERAG_VARIABLES.RandomInteger(98, 158))
End If
If String.Equals(teststr, String.Empty) = False Then
intzahliterats = VERAG_VARIABLES.getiterationnumber