bug fix
This commit is contained in:
parent
685f934fd7
commit
c4e6ac8fb4
|
@ -23,7 +23,7 @@ func collectCopyCountLiveAnchors(cxt *WorkerContext) {
|
|||
if ok || (ok == false && err == nil) {
|
||||
|
||||
var cur *mongo.Cursor
|
||||
if liveanchor == nil {
|
||||
if ok == false {
|
||||
cur, err = mdb.C.CountLiveAnchors.Find(context.TODO(), bson.M{"create_at": bson.M{"$gt": "2020-05-30"}})
|
||||
} else {
|
||||
last := liveanchor.CreateAt
|
||||
|
|
Loading…
Reference in New Issue
Block a user