diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-24 11:27:31 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-24 11:45:28 +0200 |
commit | 43522ef7898c60ffd3e7c5ff056fd765635bbc5c (patch) | |
tree | 4c9bea495ca8e2ba779d6c9fc952f0aca7770c72 /src/config/default.rs | |
parent | feat(videos): Allow limiting the number of videos to show (diff) | |
download | yt-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.rs | 4 |
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 } } |