Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: add recursion limit for all services (#1830)

Will Hutchinson0d6132cf9096
diff --git a/rust/cloud-storage/authentication_service/src/main.rs b/rust/cloud-storage/authentication_service/src/main.rs
index 6af2715a7f..d782c3b474 100644
--- a/rust/cloud-storage/authentication_service/src/main.rs
+++ b/rust/cloud-storage/authentication_service/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
use anyhow::Context;
use config::{Config, Environment};
use document_storage_service_client::DocumentStorageServiceClient;
diff --git a/rust/cloud-storage/connection_gateway/src/main.rs b/rust/cloud-storage/connection_gateway/src/main.rs
index a4f94e8d11..6a6670a849 100644
--- a/rust/cloud-storage/connection_gateway/src/main.rs
+++ b/rust/cloud-storage/connection_gateway/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
mod api;
mod config;
mod constants;
diff --git a/rust/cloud-storage/contacts_service/src/main.rs b/rust/cloud-storage/contacts_service/src/main.rs
index df003cf811..2c2fec8e6a 100644
--- a/rust/cloud-storage/contacts_service/src/main.rs
+++ b/rust/cloud-storage/contacts_service/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
mod api;
mod config;
mod graph;
diff --git a/rust/cloud-storage/convert_service/src/main.rs b/rust/cloud-storage/convert_service/src/main.rs
index df1571360d..b40d5f5d54 100644
--- a/rust/cloud-storage/convert_service/src/main.rs
+++ b/rust/cloud-storage/convert_service/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
use crate::api::context::ApiContext;
use anyhow::Context;
use config::Config;
diff --git a/rust/cloud-storage/delete_document_worker/src/main.rs b/rust/cloud-storage/delete_document_worker/src/main.rs
index a144ba3faa..c73a9a0a7e 100644
--- a/rust/cloud-storage/delete_document_worker/src/main.rs
+++ b/rust/cloud-storage/delete_document_worker/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
use anyhow::Context;
use config::{Config, Environment};
use macro_entrypoint::MacroEntrypoint;
diff --git a/rust/cloud-storage/document_cognition_service/src/main.rs b/rust/cloud-storage/document_cognition_service/src/main.rs
index fdad8df024..043be3e44c 100644
--- a/rust/cloud-storage/document_cognition_service/src/main.rs
+++ b/rust/cloud-storage/document_cognition_service/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
use crate::api::context::ApiContext;
use ai_tools::NoOpTaskProperties;
use anyhow::Context;
diff --git a/rust/cloud-storage/image_proxy_service/src/main.rs b/rust/cloud-storage/image_proxy_service/src/main.rs
index ac367b5291..63bd3d2f27 100644
--- a/rust/cloud-storage/image_proxy_service/src/main.rs
+++ b/rust/cloud-storage/image_proxy_service/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
mod api;
mod config;
diff --git a/rust/cloud-storage/notification_service/src/main.rs b/rust/cloud-storage/notification_service/src/main.rs
index a62ef67f69..b291504fae 100644
--- a/rust/cloud-storage/notification_service/src/main.rs
+++ b/rust/cloud-storage/notification_service/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
use crate::api::context::ApiContext;
use ::notification::domain::service::NotificationEgressService;
use ::notification::inbound::worker::NotificationWorker;
diff --git a/rust/cloud-storage/search_processing_service/src/main.rs b/rust/cloud-storage/search_processing_service/src/main.rs
index cf536b3c63..db779e720f 100644
--- a/rust/cloud-storage/search_processing_service/src/main.rs
+++ b/rust/cloud-storage/search_processing_service/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
use std::sync::Arc;
use crate::{
diff --git a/rust/cloud-storage/static_file_service/src/main.rs b/rust/cloud-storage/static_file_service/src/main.rs
index 77221cdb8e..d8f39bfa62 100644
--- a/rust/cloud-storage/static_file_service/src/main.rs
+++ b/rust/cloud-storage/static_file_service/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
use anyhow::Context;
use macro_auth::middleware::decode_jwt::JwtValidationArgs;
use macro_entrypoint::MacroEntrypoint;
diff --git a/rust/cloud-storage/unfurl_service/src/main.rs b/rust/cloud-storage/unfurl_service/src/main.rs
index 0f1756aa37..417f12ad4b 100644
--- a/rust/cloud-storage/unfurl_service/src/main.rs
+++ b/rust/cloud-storage/unfurl_service/src/main.rs
@@ -1,3 +1,4 @@
+#![recursion_limit = "256"]
mod api;
mod config;
mod unfurl;