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
use rate_limit::{
RateLimitConfig, RateLimitKey, RateLimitPort, RateLimitResult, domain::models::RateLimitOk,
};
use rootcause::Report;
/// Rate limit port that always allows (no-op for sandbox).
pub struct NoOpRateLimitPort;
impl RateLimitPort for NoOpRateLimitPort {
async fn check(
&self,
key: RateLimitKey,
config: RateLimitConfig,
) -> Result<RateLimitResult, Report> {
Ok(RateLimitResult::Ok(RateLimitOk::new_testing_value(
0, key, config,
)))
}
async fn decrement(&self, _key: &RateLimitKey) -> Result<(), Report> {
Ok(())
}
}