Acey %!s(int64=8) %!d(string=hai) anos
pai
achega
cb3e58c527
Modificáronse 1 ficheiros con 1 adicións e 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,