continuo flushCache
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
@@ -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,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 @@
|
||||
6.15.2209.1616
|
||||
6.15.2209.1908
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user