diff --git a/core/candle.go b/core/candle.go index 4dc73e6..da8deb7 100644 --- a/core/candle.go +++ b/core/candle.go @@ -288,7 +288,7 @@ func (core *Core) SaveUniKey(period string, keyName string, extt time.Duration, wg := WriteLog{ Content: cd, Tag: "sardine.log.candle." + cl.Period, - // Id: hashString(did), + Id: hashString(did), } // go func() { core.WriteLogChan <- &wg diff --git a/core/core.go b/core/core.go index ba9b100..fe69c3c 100644 --- a/core/core.go +++ b/core/core.go @@ -87,7 +87,7 @@ func WriteLogProcess(cr *Core) { for { wg := <-cr.WriteLogChan go func(wg *WriteLog) { - fmt.Println("start writelog") + fmt.Println("start writelog: " + wg.Id) wg.Process(cr) }(wg) } diff --git a/tunas b/tunas index 2f15410..4bc3c91 100755 Binary files a/tunas and b/tunas differ