Updated docs to mention dropzone timeout.

This commit is contained in:
Abijeet Patro 2018-11-18 00:30:04 +05:30 committed by GitHub
commit 8a08736b8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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