Test reload MON con timeout

This commit is contained in:
Samuele Locatelli
2024-03-04 16:31:59 +01:00
parent 1303886512
commit f0201bcb25
5 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>6.16.2403.110</Version>
<Version>6.16.2403.416</Version>
</PropertyGroup>
<ItemGroup>
+6 -1
View File
@@ -64,7 +64,12 @@
retryIntervalMilliseconds: 2000
},
reconnectionHandler: {
onConnectionDown: (options, error) => console.error(error),
onConnectionDown: (options, error) => {
console.error(error);
setTimeout(function () {
location.reload();
}, 5000);
},
onConnectionUp: () => console.log("Client reconnected!")
}
}).then(() => {
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MON MAPO</i>
<h4>Versione: 6.16.2403.110</h4>
<h4>Versione: 6.16.2403.416</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2403.110
6.16.2403.416
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2403.110</version>
<version>6.16.2403.416</version>
<url>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/MP.Mon.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>