Codedesign geändert
This commit is contained in:
@@ -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.
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user