summaryrefslogtreecommitdiff
path: root/recording/config.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-15 01:36:12 +0800
committerKeuin <[email protected]>2022-09-15 02:01:33 +0800
commit12c856a10cb9c59ae97504ce0fcd9fdb044bdd14 (patch)
tree70a3b1619c488768a9c2c688ee4632e3551844e2 /recording/config.go
parent4e742159af79cf0f6a14da630a362a0344a5a121 (diff)
Use io.CopyN to utilize zero copy technique.
Diffstat (limited to 'recording/config.go')
-rw-r--r--recording/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/recording/config.go b/recording/config.go
index ff3ae2a..7dbf189 100644
--- a/recording/config.go
+++ b/recording/config.go
@@ -22,7 +22,7 @@ type TransportConfig struct {
type DownloadConfig struct {
SaveDirectory string `mapstructure:"save_directory"`
- DiskWriteBufferBytes int `mapstructure:"disk_write_buffer_bytes"`
+ DiskWriteBufferBytes int64 `mapstructure:"disk_write_buffer_bytes"`
UseSpecialExtNameBeforeFinishing bool `mapstructure:"use_special_ext_name_when_downloading"`
}