Zurücksetzen auf Stand freitag
This commit is contained in:
@@ -22,7 +22,7 @@ Partial Class login_FLEX
|
||||
Try
|
||||
Dim teststr = String.Empty
|
||||
If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then
|
||||
intzahliterats = VERAG_VARIABLES.RandomInteger(Math.Pow(2, 4), Math.Pow(2, 7))
|
||||
intzahliterats = VERAG_VARIABLES.RandomInteger(Math.Pow(2, 8), Math.Pow(2, 17))
|
||||
teststr = Await TestPerformance.TestHashrateServerAsync(0.052 * VERAG_VARIABLES.GetCpuSpeed())
|
||||
Else
|
||||
intzahliterats = VERAG_VARIABLES.RandomInteger(Math.Pow(2, 8), Math.Pow(2, 17))
|
||||
@@ -30,10 +30,6 @@ Partial Class login_FLEX
|
||||
End If
|
||||
If String.Equals(teststr, String.Empty) = False Then
|
||||
intzahliterats = VERAG_VARIABLES.getiterationnumber
|
||||
teststr = Await TestPerformance.TestHashrateServerAsync(0.042 * VERAG_VARIABLES.GetCpuSpeed())
|
||||
If String.Equals(teststr, String.Empty) = False Then
|
||||
Response.Write("Der Webserver kann momentan keine sicherheitsrelevanten Aufgaben ausführen. Bitte versuchen Sie es später noch einmal.")
|
||||
End If
|
||||
End If
|
||||
Catch Ex As SettingsPropertyNotFoundException
|
||||
VERAG_VARIABLES.seterrorcount(4534)
|
||||
|
||||
Reference in New Issue
Block a user