From aac8a9f9c58060cf0287f6c3e61682e18a06addb Mon Sep 17 00:00:00 2001 From: Mike Shultz Date: Mon, 4 Dec 2023 13:03:22 -0700 Subject: [PATCH] chore: nonsense debugging --- silverback/runner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/silverback/runner.py b/silverback/runner.py index f72818d2..5d699206 100644 --- a/silverback/runner.py +++ b/silverback/runner.py @@ -155,6 +155,7 @@ def __init__(self, app: SilverbackApp, *args, **kwargs): async def _block_task(self, block_handler: AsyncTaskiqDecoratedTask): sub_id = await self.subscriptions.subscribe(SubscriptionType.BLOCKS) logger.debug(f"Handling blocks via {sub_id}") + print("HELLO WORLD") async for raw_block in self.subscriptions.get_subscription_data(sub_id): logger.debug("Processing raw block:") @@ -226,6 +227,8 @@ def __init__(self, app: SilverbackApp, *args, **kwargs): ) async def _block_task(self, block_handler: AsyncTaskiqDecoratedTask): + logger.debug(f"Handling blocks via polling") + print("GOODBYE WORLD") new_block_timeout = None start_block = None if "_blocks_" in self.app.poll_settings: