优化版本冲突导致无法写入
This commit is contained in:
@@ -95,7 +95,8 @@ def save(actions, item):
|
||||
"_op_type": "update",
|
||||
"_index": index_name,
|
||||
"_id": item['_id'],
|
||||
"doc": doc_info
|
||||
"doc": doc_info,
|
||||
"_retry_on_conflict": 5
|
||||
}
|
||||
mutex.acquire(timeout=60)
|
||||
actions.append(action)
|
||||
|
||||
Reference in New Issue
Block a user