Acey il y a 8 ans
Parent
commit
cb3e58c527
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      celery/backends/elasticsearch.py

+ 1 - 0
celery/backends/elasticsearch.py

@@ -89,6 +89,7 @@ class ElasticsearchBackend(KeyValueStoreBackend):
 
     def _index(self, id, body, **kwargs):
         return self.server.index(
+            id=id,
             index=self.index,
             doc_type=self.doc_type,
             body=body,