From f8ab3bde3597d4b6b33c903d98a3a2141b608af6 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 8 Jun 2023 18:46:50 -0400 Subject: [PATCH] Allow sampler step events to overrun; only 1s period --- piker/data/_sampling.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/piker/data/_sampling.py b/piker/data/_sampling.py index 98a7603f..01c5a35e 100644 --- a/piker/data/_sampling.py +++ b/piker/data/_sampling.py @@ -529,7 +529,9 @@ async def open_sample_stream( assert len(first) > 1 async with ( - ctx.open_stream() as istream, + ctx.open_stream( + allow_overruns=True, + ) as istream, # TODO: we DO need this task-bcasting so that # for eg. the history chart update loop eventually