def done(self, res):
self.log("upload done", level=log.OPERATIONAL)
- self.set_status("Done")
+ self.set_status("Finished")
self.set_encode_and_push_progress(extra=1.0) # done
now = time.time()
h_and_c_elapsed = now - self._start_hashing_and_close_timestamp
def _build_results(self, uri):
self._results.uri = uri
- self._status.set_status("Done")
+ self._status.set_status("Finished")
self._status.set_progress(1, 1.0)
self._status.set_progress(2, 1.0)
return self._results
if "total" in r.timings:
r.timings["helper_total"] = r.timings["total"]
r.timings["total"] = now - self._started
- self._upload_status.set_status("Done")
+ self._upload_status.set_status("Finished")
self._upload_status.set_results(r)
return r
# TODO: recovery
else:
self.log("Publish done, success")
- self._status.set_status("Done")
+ self._status.set_status("Finished")
self._status.set_progress(1.0)
eventually(self.done_deferred.callback, res)
self._status.set_status("Failed")
else:
self.log("Retrieve done, success!")
- self._status.set_status("Done")
+ self._status.set_status("Finished")
self._status.set_progress(1.0)
# remember the encoding parameters, use them again next time
(seqnum, root_hash, IV, segsize, datalength, k, N, prefix,
self._status.set_finished(now)
self._status.timings["total"] = elapsed
self._status.set_progress(1.0)
- self._status.set_status("Done")
+ self._status.set_status("Finished")
self._status.set_active(False)
self._servermap.last_update_mode = self.mode