From 4d6665b64af566f1c028b70caf578ba4441e909f Mon Sep 17 00:00:00 2001 From: mountain Date: Thu, 7 Nov 2024 11:43:04 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=97=85=EB=A1=9C=EB=93=9C=EB=A5=BC=20=EB=B9=84=EB=8F=99?= =?UTF-8?q?=EA=B8=B0=EB=A1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/operation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/operation.go b/client/operation.go index a3186b5..0cbe302 100644 --- a/client/operation.go +++ b/client/operation.go @@ -473,7 +473,7 @@ func (hc *houstonClient) launch(meta *procmeta) error { } total += len(buff) - if total > 1024 { + if total > 1024*1024 { wipeLogFile() } } @@ -513,7 +513,7 @@ func (hc *houstonClient) launch(meta *procmeta) error { if targetFile != nil { targetFile.Close() targetFile = nil - hc.uploadRawLogFile(currentFilePath, meta.name, meta.version) + go hc.uploadRawLogFile(currentFilePath, meta.name, meta.version) } }