junobuild_shared/rate/
constants.rs

1
2
3
4
5
6
7
8
use crate::rate::types::RateConfig;

// Rates
// 600_000_000 nano seconds = 0.6 seconds
pub const DEFAULT_RATE_CONFIG: RateConfig = RateConfig {
    max_tokens: 100,
    time_per_token_ns: 600_000_000,
};