This commit is contained in:
parent
bdc7b66c6b
commit
7249178972
|
@ -178,6 +178,14 @@ class S:
|
||||||
else:
|
else:
|
||||||
bulk_reqs.append(uo1440)
|
bulk_reqs.append(uo1440)
|
||||||
|
|
||||||
|
q1 = {
|
||||||
|
"src_id": oss_src_id,
|
||||||
|
}
|
||||||
|
up1 = {
|
||||||
|
"resize_t": int(time.time()),
|
||||||
|
"status": 100
|
||||||
|
}
|
||||||
|
|
||||||
os.remove(oss_src_download_path)
|
os.remove(oss_src_download_path)
|
||||||
mongo_ret = self.col_image.bulk_write(bulk_reqs)
|
mongo_ret = self.col_image.bulk_write(bulk_reqs)
|
||||||
if not mongo_ret:
|
if not mongo_ret:
|
||||||
|
|
Loading…
Reference in New Issue