1
This commit is contained in:
parent
ebdd6e41fd
commit
3796e32b9d
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user