From f371b8a2973c1810124aff6244c8ff804731374f Mon Sep 17 00:00:00 2001 From: VC Date: Tue, 15 Nov 2022 09:27:09 +0100 Subject: [PATCH] feat: add default rate_limiting option --- src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.rs b/src/config.rs index c5a6728..35fa6f3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -32,6 +32,7 @@ pub struct MastodonConfig { pub struct ScootalooConfig { pub db_path: String, pub cache_path: String, + pub rate_limit: Option, } /// Parses the TOML file into a Config Struct