From 9fce989235d9f27fca0cb99efd800a60bed2d215 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Fri, 20 Jul 2018 19:32:42 +0200
Subject: [PATCH] Fix #382: Remove parallelization of uploads during import to
 avoid crashing small servers

---
 changes/changelog.d/382.bugfix                     | 1 +
 front/src/components/library/import/FileUpload.vue | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 changes/changelog.d/382.bugfix

diff --git a/changes/changelog.d/382.bugfix b/changes/changelog.d/382.bugfix
new file mode 100644
index 00000000..31d9e4fc
--- /dev/null
+++ b/changes/changelog.d/382.bugfix
@@ -0,0 +1 @@
+Remove parallelization of uploads during import to avoid crashing small servers (#382)
diff --git a/front/src/components/library/import/FileUpload.vue b/front/src/components/library/import/FileUpload.vue
index 88ff8300..a9b68552 100644
--- a/front/src/components/library/import/FileUpload.vue
+++ b/front/src/components/library/import/FileUpload.vue
@@ -15,7 +15,7 @@
         accept="audio/*"
         v-model="files"
         name="audio_file"
-        :thread="3"
+        :thread="1"
         @input-filter="inputFilter"
         @input-file="inputFile"
         ref="upload">
-- 
GitLab