Update nuget redis e restsharp (con nuova modalità) + fix expiry redis
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
<PackageVersion Include="NLog.Web.AspNetCore" Version="6.1.0" />
|
||||
<PackageVersion Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.3" />
|
||||
<PackageVersion Include="Radzen.Blazor" Version="8.6.5" />
|
||||
<PackageVersion Include="RestSharp" Version="112.1.0" />
|
||||
<PackageVersion Include="StackExchange.Redis" Version="2.8.41" />
|
||||
<PackageVersion Include="RestSharp" Version="113.1.0" />
|
||||
<PackageVersion Include="StackExchange.Redis" Version="2.10.1" />
|
||||
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.6.2" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
@@ -293,12 +293,12 @@ namespace EgwCoreLib.Lux.Data.Services
|
||||
/// </summary>
|
||||
/// <param name="key"></param>
|
||||
/// <param name="value"></param>
|
||||
/// <param name="expiry"></param>
|
||||
/// <param name="tsExpiry"></param>
|
||||
/// <returns></returns>
|
||||
public bool Set(string key, string value, TimeSpan? expiry = null)
|
||||
public bool Set(string key, string value, TimeSpan? tsExpiry = null)
|
||||
{
|
||||
Log.Trace($"Set request for {key}");
|
||||
return _db.StringSet(key, value, expiry);
|
||||
return _db.StringSet(key, value, tsExpiry, When.Always);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -306,12 +306,12 @@ namespace EgwCoreLib.Lux.Data.Services
|
||||
/// </summary>
|
||||
/// <param name="key"></param>
|
||||
/// <param name="value"></param>
|
||||
/// <param name="expiry"></param>
|
||||
/// <param name="tsExpiry"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<bool> SetAsync(string key, string value, TimeSpan? expiry = null)
|
||||
public async Task<bool> SetAsync(string key, string value, TimeSpan? tsExpiry = null)
|
||||
{
|
||||
Log.Trace($"SetAsync request for {key}");
|
||||
return await _db.StringSetAsync(key, value, expiry);
|
||||
return await _db.StringSetAsync(key, value, tsExpiry, When.Always);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>1.1.2601.2315</Version>
|
||||
<Version>1.1.2601.2316</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UserSecretsId>aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50</UserSecretsId>
|
||||
<Version>1.1.2601.2315</Version>
|
||||
<Version>1.1.2601.2316</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>LUX - Web Windows MES</i>
|
||||
<h4>Versione: 1.1.2601.2315</h4>
|
||||
<h4>Versione: 1.1.2601.2316</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.1.2601.2315
|
||||
1.1.2601.2316
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>1.1.2601.2315</version>
|
||||
<version>1.1.2601.2316</version>
|
||||
<url>http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip</url>
|
||||
<changelog>http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user