mirror of
https://framagit.org/veretcle/scootaloo.git
synced 2025-07-21 09:31:19 +02: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