From eaa1547b10f439a037866cee054a7810567aa6fc Mon Sep 17 00:00:00 2001 From: Keuin Date: Thu, 8 Sep 2022 02:34:34 +0800 Subject: Support custom file write buffer size. --- recording/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recording/config.go') diff --git a/recording/config.go b/recording/config.go index bce9a8f..975887b 100644 --- a/recording/config.go +++ b/recording/config.go @@ -18,7 +18,8 @@ type TransportConfig struct { } type DownloadConfig struct { - SaveDirectory string `mapstructure:"save_directory"` + SaveDirectory string `mapstructure:"save_directory"` + DiskWriteBufferBytes int `mapstructure:"disk_write_buffer_bytes"` } func DefaultTransportConfig() TransportConfig { -- cgit v1.2.3