|
|
@@ -29,7 +29,7 @@ func Init(redisAddr string) (err error) { |
|
|
|
// DailySettlementBlockStarChain 每日结算“区块星链” |
|
|
|
func DailySettlementBlockStarChain(engine *xorm.Engine, mid string, isTask bool) (err error) { |
|
|
|
//TODO::先休眠10分钟 |
|
|
|
time.Sleep(time.Minute * 10) |
|
|
|
time.Sleep(time.Minute * 5) |
|
|
|
session := engine.NewSession() |
|
|
|
defer func() { |
|
|
|
session.Close() |
|
|
|