UMTS at Teleco 2 tygodni temu
rodzic
commit
9438b2c99c
1 zmienionych plików z 4 dodań i 3 usunięć
  1. 4 3
      src/config.rs

+ 4 - 3
src/config.rs

@@ -124,7 +124,7 @@ fn default_clear_on_search() -> bool {
 }
 
 fn default_jobs() -> u8 {
-    4
+    32
 }
 
 fn default_noretry() -> Vec<String> {
@@ -136,7 +136,7 @@ fn default_backups_enabled() -> bool {
 }
 
 fn default_backup_count() -> u32 {
-    6
+    32
 }
 
 impl Default for Settings {
@@ -194,6 +194,7 @@ struct LegacyConfig {
     scratchpad: String,
 }
 
+// this implementation is partially containing ai slop i should remove no need for that idk why this was made to have legacy support by it but eh idc
 impl Config {
     pub fn load(path: &Path) -> Self {
         match std::fs::read_to_string(path) {
@@ -424,7 +425,7 @@ pub fn resolve_paths(explicit: Option<&PathBuf>) -> HoardomPaths {
         }
     }
 
-    // nothing works - disable caching, use a dummy path
+    // nothing works disable caching, use a dummy path
     eprintln!("Warning: could not create .hoardom directory anywhere, caching disabled");
     HoardomPaths {
         config_file: PathBuf::from(".hoardom/config.toml"),