Skip to main content

xmtp_configuration/common/
notifications.rs

1use std::time::Duration;
2
3/// Bound the complete notification operation, including auth and transport retries.
4pub const NOTIFICATION_REQUEST_TIMEOUT: Duration = Duration::from_secs(30);
5
6/// Maximum total adds and removes in one notification request.
7pub const NOTIFICATION_BATCH_TOPICS: usize = 1000;