summaryrefslogtreecommitdiff
path: root/recording/config.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-08 02:34:34 +0800
committerKeuin <[email protected]>2022-09-08 02:34:34 +0800
commiteaa1547b10f439a037866cee054a7810567aa6fc (patch)
tree76bc598c9696b03a03f9a6b22e83bccd8674c794 /recording/config.go
parentaced234f80489f10e678cbe8ab2d44fe50c8e376 (diff)
Support custom file write buffer size.
Diffstat (limited to 'recording/config.go')
-rw-r--r--recording/config.go3
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 {