From 43522ef7898c60ffd3e7c5ff056fd765635bbc5c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 24 Aug 2024 11:27:31 +0200 Subject: fix(config): Check for wrong keys in the config file --- src/config/default.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config/default.rs') diff --git a/src/config/default.rs b/src/config/default.rs index e99b255..8eedb18 100644 --- a/src/config/default.rs +++ b/src/config/default.rs @@ -54,13 +54,13 @@ pub mod select { } pub mod watch { - pub fn local_comments_length() -> i64 { + pub fn local_comments_length() -> usize { 1000 } } pub mod update { - pub fn max_backlog() -> i64 { + pub fn max_backlog() -> u32 { 20 } } -- cgit 1.4.1