feat: update default max_buffer_size to use PIPESIZE
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -141,7 +141,7 @@ impl MetaPlugin for BinaryMetaPlugin {
|
|||||||
|
|
||||||
fn default_options(&self) -> std::collections::HashMap<String, serde_yaml::Value> {
|
fn default_options(&self) -> std::collections::HashMap<String, serde_yaml::Value> {
|
||||||
let mut options = std::collections::HashMap::new();
|
let mut options = std::collections::HashMap::new();
|
||||||
options.insert("max_buffer_size".to_string(), serde_yaml::Value::Number(4096.into()));
|
options.insert("max_buffer_size".to_string(), serde_yaml::Value::Number(PIPESIZE.into()));
|
||||||
options
|
options
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ impl MetaPlugin for MagicFileMetaPlugin {
|
|||||||
|
|
||||||
fn default_options(&self) -> std::collections::HashMap<String, serde_yaml::Value> {
|
fn default_options(&self) -> std::collections::HashMap<String, serde_yaml::Value> {
|
||||||
let mut options = std::collections::HashMap::new();
|
let mut options = std::collections::HashMap::new();
|
||||||
options.insert("max_buffer_size".to_string(), serde_yaml::Value::Number(4096.into()));
|
options.insert("max_buffer_size".to_string(), serde_yaml::Value::Number(PIPESIZE.into()));
|
||||||
options
|
options
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user