summaryrefslogtreecommitdiff
path: root/recording/runner.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-15 00:58:10 +0800
committerKeuin <[email protected]>2022-09-15 01:19:02 +0800
commit4e742159af79cf0f6a14da630a362a0344a5a121 (patch)
tree11b09ae5100158198906a69c9e8214d8286d3893 /recording/runner.go
parent1a2cd1e08b5f63814acbddf453be523fcca8bad3 (diff)
Make copy and write IO operations async.
Diffstat (limited to 'recording/runner.go')
-rw-r--r--recording/runner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/recording/runner.go b/recording/runner.go
index fe518b8..7fdffac 100644
--- a/recording/runner.go
+++ b/recording/runner.go
@@ -26,7 +26,7 @@ type TaskResult struct {
Error error
}
-const kReadChunkSize = 128 * 1024
+const kReadChunkSize = 1024 * 1024
const kSpecialExtName = "partial"
var errLiveEnded = NewRecoverableTaskError("live is ended", nil)