fix: remove deprecated max_buffer option support
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
d19ef19a5b
commit
cec6081218
@@ -85,11 +85,6 @@ impl MetaPlugin for BinaryMetaPlugin {
|
|||||||
if let Some(size) = max_buffer_size.as_u64() {
|
if let Some(size) = max_buffer_size.as_u64() {
|
||||||
self.max_buffer_size = size as usize;
|
self.max_buffer_size = size as usize;
|
||||||
}
|
}
|
||||||
} else if let Some(max_buffer_size) = options.get("max_buffer") {
|
|
||||||
// Also support "max_buffer" for backward compatibility
|
|
||||||
if let Some(size) = max_buffer_size.as_u64() {
|
|
||||||
self.max_buffer_size = size as usize;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(outputs) = options.get("outputs") {
|
if let Some(outputs) = options.get("outputs") {
|
||||||
|
|||||||
Reference in New Issue
Block a user