continuo flushCache

This commit is contained in:
zaccaria.majid
2022-09-19 08:43:48 +02:00
parent ff2fbe0c34
commit eed45695e8
7 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -501,7 +501,7 @@ namespace MP.SPEC.Data
{
bool answ = false;
var server = redisConn.GetServer("localhost");
await Task.Delay(1);
//await Task.Delay(1);
if (server != null)
{
await server.FlushDatabaseAsync();
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>6.15.2209.1616</Version>
<Version>6.15.2209.1908</Version>
</PropertyGroup>
<ItemGroup>
+1 -1
View File
@@ -6,5 +6,5 @@
<h3>Utils</h3>
<div class="px-2">
<button class="btn btn-primary"> Flush ache </button>
<button class="btn btn-primary" @onclick="() => flushCache()"> Flush Cache </button>
</div>
+9 -3
View File
@@ -1,12 +1,18 @@
using MP.SPEC.Data;
using Microsoft.AspNetCore.Components;
using MP.SPEC.Data;
using System.Reflection;
namespace MP.SPEC.Pages
{
public partial class Utils
{
public void flushCache()
[Inject]
protected MpDataService MDService { get; set; }
public async Task flushCache()
{
//MpDataService.FlushRedisCache();
await Task.Delay(1);
await MDService.FlushRedisCache();
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.15.2209.1616</h4>
<h4>Versione: 6.15.2209.1908</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.15.2209.1616
6.15.2209.1908
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.15.2209.1616</version>
<version>6.15.2209.1908</version>
<url>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>