Enforce minimum value for mqtt stats update (#12253)

This commit is contained in:
Nicolas Mowen
2024-07-01 16:08:14 -06:00
committed by GitHub
parent ef7846bb41
commit 012aa63571
3 changed files with 9 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ from typing import Optional
from frigate.comms.inter_process import InterProcessRequestor
from frigate.config import FrigateConfig
from frigate.const import FREQUENCY_STATS_POINTS
from frigate.stats.util import stats_snapshot
from frigate.types import StatsTrackingTypes
@@ -17,7 +18,6 @@ logger = logging.getLogger(__name__)
MAX_STATS_POINTS = 80
FREQUENCY_STATS_POINTS = 15
class StatsEmitter(threading.Thread):