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.

511 B
Raw Blame
pub mod access_token;
pub mod backfill;
pub mod backfill_write_slots;
pub mod health_probe;
pub mod lock;
pub mod outlook_health;
pub mod rate_limit;

#[derive(Clone)]
pub struct RedisClient {
    pub inner: redis::Client,

    /// Duration of the sliding window for Google Calendar rate limiting in seconds.
    pub rate_limit_secs: u32,
}

impl RedisClient {
    pub fn new(inner: redis::Client, rate_limit_secs: u32) -> Self {
        Self {
            inner,
            rate_limit_secs,
        }
    }
}