This commit is contained in:
aozhiwei 2024-07-22 00:00:05 +08:00
parent ebdd6e41fd
commit 3796e32b9d

View File

@ -11,6 +11,7 @@ import (
"strings"
"net/http"
"io/ioutil"
"time"
)
type nftInfo struct {
@ -88,7 +89,7 @@ SELECT * FROM t_nft WHERE idx > %d AND net_id = %d AND last_refresh_meta_time =
func () int64 {
this.doRefresh()
this.batchNfts = []*nftInfo{}
return 60 + 10
return 60 * 60
},
this.repairNftMeta)
}
@ -192,4 +193,5 @@ func (this* refreshMeta) internalRefresh(contractAddress string, nftMetas []*nft
fmt.Printf("http error read %s", err)
}
}
time.Sleep(time.Second * 60 + 10)
}