diff options
author | Keuin <[email protected]> | 2022-09-08 02:34:34 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-08 02:34:34 +0800 |
commit | eaa1547b10f439a037866cee054a7810567aa6fc (patch) | |
tree | 76bc598c9696b03a03f9a6b22e83bccd8674c794 /recording/config.go | |
parent | aced234f80489f10e678cbe8ab2d44fe50c8e376 (diff) |
Support custom file write buffer size.
Diffstat (limited to 'recording/config.go')
-rw-r--r-- | recording/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |