diff options
author | Victor Shyba <victor1984@riseup.net> | 2016-11-19 17:49:12 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-12-12 09:15:21 -0200 |
commit | c26915bde89b970311d83956aea8255b8d5998e1 (patch) | |
tree | 60ba246f3e37864cdbfc4466dc79b31c3e4ac605 /client | |
parent | 1804b5f74a4efa6b25c06fe353ac960fd42e4fb6 (diff) |
[bug] fix upload progress
We need to emit zmq status during doc prepare, which is called during
upload.
Diffstat (limited to 'client')
-rw-r--r-- | client/src/leap/soledad/client/http_target/send.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/http_target/send.py b/client/src/leap/soledad/client/http_target/send.py index c15488a0..ffb5f4ba 100644 --- a/client/src/leap/soledad/client/http_target/send.py +++ b/client/src/leap/soledad/client/http_target/send.py @@ -73,7 +73,6 @@ class HTTPDocSender(object): entry, body, idx, total)) result = yield self._send_request(body, calls) - _emit_send_status(self.uuid, body.consumed, total) defer.returnValue(result) def _send_request(self, body, calls): @@ -92,6 +91,7 @@ class HTTPDocSender(object): id=doc.doc_id, rev=doc.rev, content=content, gen=gen, trans_id=trans_id, number_of_docs=total, doc_idx=idx) + _emit_send_status(self.uuid, body.consumed, total) @defer.inlineCallbacks def _encrypt_doc(self, get_doc_call): |