Doafull backfill of stream/variantsfromallnodesinitially.Theneverysleep_timeminuteschecktoseeifmorethanfill_waitminuteshavepassedsincethelastbackfill.Ifsodoabackfillofthelast3hours.Alsocheckwhetherithasbeenmorethanfull_fill_waitminutessincethelastfullbackfill;ifso,doafullbackfill."""
Doa backfill ofthe last3hoursfromstream/variantsfromallnodesinitiallybeforedoingafullbackfillfromallnodes.Theneverysleep_timeminuteschecktoseeifmorethanfill_waitminuteshavepassedsincethelastbackfill.Ifsodoabackfillofthelast3hours.Alsocheckwhetherithasbeenmorethanfull_fill_waitminutessincethelastfullbackfill;ifso,doafullbackfill."""
# TODO replace this with a more robust event based service and backfill from multiple nodes in parallel
# TODO replace this with a more robust event based service and backfill from multiple nodes in parallel
# stretch goal: provide an interface to trigger backfills manually
# stretch goal: provide an interface to trigger backfills manually
# stretch goal: use the backfiller to monitor the restreamer
# stretch goal: use the backfiller to monitor the restreamer