Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
chore(log): improve ingress worker logging (#2342)
Sean Aye0a80c115b18d
diff --git a/infra/stacks/notification-service/index.ts b/infra/stacks/notification-service/index.tsindex a4a03d90a3..d1189e957e 100644--- a/infra/stacks/notification-service/index.ts+++ b/infra/stacks/notification-service/index.ts@@ -172,7 +172,7 @@ const notificationService = new NotificationService('notification-service', {containerEnvVars: [{name: 'RUST_LOG',- value: `error,notification_service=${stack === 'prod' ? 'debug' : 'trace'},notification_db_client=${stack === 'prod' ? 'info' : 'debug'},tower_http=info`,+ value: `error,notification_service=${stack === 'prod' ? 'debug' : 'trace'},notification=${stack === 'prod' ? 'debug' : 'trace'},notification_db_client=${stack === 'prod' ? 'info' : 'debug'},tower_http=info`,},{name: 'ENVIRONMENT',diff --git a/rust/cloud-storage/notification/src/inbound/ingress_worker.rs b/rust/cloud-storage/notification/src/inbound/ingress_worker.rsindex e48affdb1e..ad2bbe23d9 100644--- a/rust/cloud-storage/notification/src/inbound/ingress_worker.rs+++ b/rust/cloud-storage/notification/src/inbound/ingress_worker.rs@@ -39,6 +39,7 @@ where/// hammering the queue.pub async fn run(&self) -> ! {loop {+ tracing::info!("ingress queue tick");match self.queue.receive_messages().await {Ok(messages) if messages.is_empty() => {tokio::time::sleep(std::time::Duration::from_secs(1)).await;