Small server changes
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<AssemblyVersion>1.0.1.0001</AssemblyVersion>
|
||||
<AssemblyVersion>1.0.2.0001</AssemblyVersion>
|
||||
<FileVersion>1.0.0.0</FileVersion>
|
||||
<RepositoryUrl>https://github.com/GTACOOP-R/GTACoop-R</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
@ -138,16 +138,20 @@ namespace CoopServer
|
||||
if (errorCounter != 0)
|
||||
{
|
||||
Logging.Error($"MasterServer: Remaining attempts {errorCounter--} ...");
|
||||
|
||||
// Wait 5 seconds before trying again
|
||||
Thread.Sleep(5000);
|
||||
continue;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Sleep for 12.5s
|
||||
Thread.Sleep(12500);
|
||||
}
|
||||
|
||||
// Reset errorCounter
|
||||
errorCounter = 3;
|
||||
|
||||
// Sleep for 12.5s
|
||||
Thread.Sleep(12500);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Reference in New Issue
Block a user