Adjust autoclient speed parameters

This commit is contained in:
ThatBen 2025-06-02 18:53:26 +02:00
parent 4920229cb5
commit ea686388a4
No known key found for this signature in database
GPG Key ID: 62C543548433D43E
3 changed files with 12 additions and 4 deletions

View File

@ -66,9 +66,17 @@ namespace AutoClient
private (uint, uint) GetDurability()
{
(uint, uint)[] options = [
(4, 1),
(4, 2),
(5, 1),
(5, 2),
(10, 5),
(6, 1),
(6, 2),
(6, 3),
(10, 2),
(10, 4),
(20, 2),
(20, 4),
(20, 10)
];

View File

@ -60,7 +60,7 @@ namespace AutoClient
"/root/codex-testnet-starter/scripts/eth_8.address";
[Uniform("slowModeDelayMinutes", "smdm", "SLOWMODEDELAYMINUTES", false, "When contract failure threshold is reached, slow down process for each file by this amount of minutes.")]
public int SlowModeDelayMinutes { get; set; } = 60 * 1;
public int SlowModeDelayMinutes { get; set; } = 30 * 1;
public string LogPath
{

View File

@ -18,7 +18,7 @@
if (slowMode)
{
recoveryCount++;
if (recoveryCount > 3)
if (recoveryCount > 2)
{
Log("Recovery limit reached. Exiting slow mode.");
slowMode = false;
@ -30,7 +30,7 @@
public void OnFailure()
{
failureCount++;
if (failureCount > 3 && !slowMode)
if (failureCount > 5 && !slowMode)
{
Log("Failure limit reached. Entering slow mode.");
slowMode = true;