diff --git a/MistWX-i2Me/API/Products/AlertDetailsProduct.cs b/MistWX-i2Me/API/Products/AlertDetailsProduct.cs index 1793b87..8d49e1d 100644 --- a/MistWX-i2Me/API/Products/AlertDetailsProduct.cs +++ b/MistWX-i2Me/API/Products/AlertDetailsProduct.cs @@ -4,6 +4,7 @@ using Microsoft.Extensions.Caching.Memory; using MistWX_i2Me.Schema.ibm; using System.Data.SqlTypes; using System.Data.SQLite; +using MistWX_i2Me.Schema.System; namespace MistWX_i2Me.API.Products; @@ -38,15 +39,6 @@ public class AlertDetailsProduct : Base string res = Encoding.UTF8.GetString(resbyte); - if (alert.detailKey != null) - { - if (alertsCache.TryGetValue(alert.detailKey, out int expireTime)) - { - // disable alertscache until further testing - //continue; - } - } - using (var stream = StreamFromString(res)) { @@ -54,14 +46,6 @@ public class AlertDetailsProduct : Base if (response != null) { results.Add(new GenericResponse(headline.Location, res, response)); - /* - if (alert.detailKey != null) - { - alertsCache.Set(alert.detailKey, alert.expireTimeUTC); - alertDetailKeys.Add(alert.detailKey); - Log.Debug($"Alert ID {alert.detailKey} cached, expires @ {alert.expireTimeUTC} UTC."); - } - */ } } }