upload_chunk.rs: add comment about possible unnecessary code

This commit is contained in:
Dietmar Maurer 2019-05-10 06:15:25 +02:00
parent 5f42ef009a
commit 0506d1ed04
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ fn upload_chunk(
let upload = UploadChunk::new(req_body, env.datastore.clone(), size as u64);
// fixme: do we really need abort here? We alread do that on level above.
let abort_future = env.worker.abort_future().then(|_| Ok(Value::Null));
let resp = upload.select(abort_future)