Acey hace 8 años
padre
commit
cb3e58c527
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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,