about summary refs log tree commit diff stats
path: root/src/config/default.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-24 11:27:31 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-24 11:45:28 +0200
commit43522ef7898c60ffd3e7c5ff056fd765635bbc5c (patch)
tree4c9bea495ca8e2ba779d6c9fc952f0aca7770c72 /src/config/default.rs
parentfeat(videos): Allow limiting the number of videos to show (diff)
downloadyt-43522ef7898c60ffd3e7c5ff056fd765635bbc5c.tar.gz
yt-43522ef7898c60ffd3e7c5ff056fd765635bbc5c.zip
fix(config): Check for wrong keys in the config file
Diffstat (limited to 'src/config/default.rs')
-rw-r--r--src/config/default.rs4
1 files changed, 2 insertions, 2 deletions
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
     }
 }