]> BookStack Code Mirror - website/commitdiff
Updated docs to mention dropzone timeout.
authorAbijeet Patro <redacted>
Sat, 17 Nov 2018 19:00:04 +0000 (00:30 +0530)
committerGitHub <redacted>
Sat, 17 Nov 2018 19:00:04 +0000 (00:30 +0530)
content/docs/admin/visual-customisation.md

index 1e766f88d8fb946526a5c72498ac294460348d94..7742d42ae82d278f6692b38804b3b136e2a6fbde 100644 (file)
@@ -83,6 +83,15 @@ REVISION_LIMIT=100
 # Alternatively, You can set to 'false' to disable the limit altogether. 
 REVISION_LIMIT=false
 ```
+### File upload timeout
+
+File uploads in BookStack use a plugin called DropzoneJS. DropzoneJS is configured with a default upload timeout of 60 seconds. This means that if the file that you are uploading does not upload completely to the server within 60 seconds, the system will timeout. 
+
+To modify this timeout, in BookStack settings, Find the 'Custom HTML head content' setting and add the following code:
+
+```js
+window.dropZoneTimeout = 30000 // To se the timeout to 30 seconds
+```
 
 ### Further Customisation