From b11dfbb00822f4af0ed5575548776097e73bbf67 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 2 Nov 2022 13:51:39 -0400 Subject: [PATCH] Drop fast chart buffer to 2 days worth --- piker/data/feed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/data/feed.py b/piker/data/feed.py index e4bacfc8..ef4b3634 100644 --- a/piker/data/feed.py +++ b/piker/data/feed.py @@ -746,12 +746,12 @@ async def manage_history( # we expect the sub-actor to write readonly=False, - size=4*_secs_in_day, + size=3*_secs_in_day, ) # (for now) set the rt (hft) shm array with space to prepend # only a few days worth of 1s history. - days = 3 + days = 2 start_index = days*_secs_in_day rt_shm._first.value = start_index rt_shm._last.value = start_index