@@ -606,7 +606,7 @@ func GetL2CacheData(dbName string, lock *sync.RWMutex, key string, f func() inte
}()
if data.IsEmpty() {
time.Sleep(100 * time.Millisecond)
- if newData.IsEmpty() {
+ if !newData.IsEmpty() {
data = newData
}
@@ -631,6 +631,7 @@ func (this *Tags) GetConsult() []map[string]interface{} {
return rs
}, cacheTime)
+ log.Println(res.Maps())
if !res.IsEmpty() {
return res.Maps()