log when launching new tasks

This commit is contained in:
Christian Schwarz
2023-02-13 17:49:51 +00:00
parent 549ae82c8d
commit 66220f7a6d

View File

@@ -231,6 +231,7 @@ async def pageserver_loop(ps_config, db: asyncpg.Pool, client: Client):
# launch new tasks
new_tasks = desired_tasks - active_task_keys
logging.info(f"launching new tasks: {len(new_tasks)}")
for tenant_id, timeline_id in new_tasks:
logging.info(
f"launching scrape task for timeline {tenant_id}/{timeline_id}"