From 90bc9b9730439974a68f5f147c6d8046a23bfe15 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 15 Jul 2022 16:27:06 -0400 Subject: [PATCH] Only 4k seconds of 1s ohlc when no tsdb --- piker/data/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/data/feed.py b/piker/data/feed.py index 2795535d..dfd47852 100644 --- a/piker/data/feed.py +++ b/piker/data/feed.py @@ -309,7 +309,7 @@ async def start_backfill( # when no tsdb "last datum" is provided, we just load # some near-term history. periods = { - 1: {'days': 1}, + 1: {'seconds': 4000}, 60: {'days': 14}, }