This commit is contained in:
zhangkun 2024-12-02 23:03:57 +08:00
parent f259bcd4ad
commit 61a7837375
4 changed files with 6 additions and 2 deletions

View File

@ -262,7 +262,7 @@ func (core *Core) SaveToSortSet(period string, keyName string, extt time.Duratio
if err != nil {
fmt.Println("err of ma7|ma30 add to redis:", err)
} else {
fmt.Println("sortedSet add to redis:", rs, keyName)
fmt.Println("sortedSet added to redis:", rs, keyName)
}
}

View File

@ -29,3 +29,7 @@ func (wg *WriteLog) Process(cr *Core) error {
}()
return nil
}
module phyer.click/texus
module phyer.click/texus

View File

@ -125,7 +125,7 @@ func LoopAllCoinsList(period int64, delay int64, mdura int, barPeriod string, on
go func() {
for {
tsi := time.Now().Unix()
fmt.Println("tsi, period, delay, tsi%(period): ", tsi, period, delay, tsi%(period))
//fmt.Println("tsi, period, delay, tsi%(period): ", tsi, period, delay, tsi%(period))
if tsi%(period) != delay {
time.Sleep(1 * time.Second)
continue

BIN
tunas Executable file

Binary file not shown.