mirror of
https://framagit.org/veretcle/scootaloo.git
synced 2025-12-06 12:23:17 +01:00
feat: add default rate_limiting option
This commit is contained in:
@@ -32,6 +32,7 @@ pub struct MastodonConfig {
|
|||||||
pub struct ScootalooConfig {
|
pub struct ScootalooConfig {
|
||||||
pub db_path: String,
|
pub db_path: String,
|
||||||
pub cache_path: String,
|
pub cache_path: String,
|
||||||
|
pub rate_limit: Option<usize>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Parses the TOML file into a Config Struct
|
/// Parses the TOML file into a Config Struct
|
||||||
|
|||||||
Reference in New Issue
Block a user