In audmodel.publish() we have take care if publishing fails and remove files from the backend in that case.
But this does not work if we loose the internet connection in between.
At the moment we start uploading the header, followed by the metadata and then the actual data:
try:
put_header(
short_id,
version,
header,
backend_interface,
verbose,
)
put_meta(
short_id,
version,
meta,
backend_interface,
verbose,
)
put_archive(
short_id,
version,
name,
subgroup,
root,
backend_interface,
verbose,
)
We should revert that order.
In
audmodel.publish()we have take care if publishing fails and remove files from the backend in that case.But this does not work if we loose the internet connection in between.
At the moment we start uploading the header, followed by the metadata and then the actual data:
We should revert that order.