From ccf815310d2be5d253386ca5ebaf69593c3bd890 Mon Sep 17 00:00:00 2001 From: Kieran Date: Sun, 1 Jun 2025 13:46:46 +0100 Subject: [PATCH] feat: increase viewer timeout --- NostrStreamer/Services/ViewCounter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NostrStreamer/Services/ViewCounter.cs b/NostrStreamer/Services/ViewCounter.cs index e7cd61e..f9aa3dc 100644 --- a/NostrStreamer/Services/ViewCounter.cs +++ b/NostrStreamer/Services/ViewCounter.cs @@ -25,7 +25,7 @@ public class ViewCounter if (_sessions.TryGetValue(k, out var x)) { _sessions[k] = x - .Where(a => a.Value > DateTime.Now.Subtract(TimeSpan.FromMinutes(2))) + .Where(a => a.Value > DateTime.Now.Subtract(TimeSpan.FromMinutes(10))) .ToDictionary(a => a.Key, b => b.Value); if (_sessions[k].Count == 0)