Commit 313e8c77 authored by Robin Tissot's avatar Robin Tissot
Browse files

Try to remove timeout from dropzone.

parent 174c6934
......@@ -340,11 +340,6 @@ class DocumentPart(OrderedModel):
elif task_name in tasks and tasks[task_name]['status'] in ['task_failure', 'error']:
w[task_name.split('.')[-1]] = 'error'
# client doesnt know about compression
if ('core.tasks.lossless_compression' in tasks and
tasks['core.tasks.lossless_compression']['status'] in ['before_task_publish', 'task_prerun']):
w['binarize'] = 'ongoing'
return w
def tasks_finished(self):
......
......@@ -321,6 +321,9 @@ $(document).ready(function() {
// create & configure dropzone
var imageDropzone = new Dropzone('.dropzone', {
paramName: "image",
timeout: 0,
// chunking: true,
// retryChunks: true,
parallelUploads: 1 // ! important or the 'order' field gets duplicates
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment