fix: remove deprecated max_buffer option support

This commit is contained in:
Andrew Phillips
2025-08-18 20:54:40 -03:00
committed by Andrew Phillips (aider)
parent d19ef19a5b
commit cec6081218

View File

@@ -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") {