过滤查询时间戳相等
This commit is contained in:
parent
95855fb148
commit
ff0dffb36f
@ -43,7 +43,7 @@ class SummaryFunc(Task):
|
||||
data = model.dict()
|
||||
bulk_data.append(UpdateOne({'_id': data['_id']}, {'$set': data}, upsert=True))
|
||||
except Exception as e:
|
||||
# logger.error(f'ftype {item["ftype"]} msg:{e}')
|
||||
pass
|
||||
logger.error(f'ftype {item["ftype"]} msg:{e}')
|
||||
# pass
|
||||
self.remote_db[self.task_name].bulk_write(bulk_data, ordered=False)
|
||||
self.set_cursor(cursor_st=ts['cursor_st'], cursor_et=ts['cursor_et'])
|
||||
|
Loading…
Reference in New Issue
Block a user