ldc-dam/config/chunk-upload.php
2022-07-29 13:12:34 +02:00

37 lines
1.1 KiB
PHP

<?php
return [
// * The storage config
'storage' => [
// * Returns the folder name of the chunks. The location is in storage/app/{folder_name}
'chunks' => 'chunks',
'disk' => 'chunk_upload',
],
'clear' => [
// * How old chunks we should delete
'timestamp' => '-3 HOURS',
'schedule' => [
'enabled' => true,
// * run every hour on the 25th minute
'cron' => '25 * * * *',
],
],
'chunk' => [
// * setup for the chunk naming setup to ensure same name upload at same time
'name' => [
'use' => [
// * should the chunk name use the session id? The uploader must send cookie!,
'session' => true,
// * instead of session we can use the ip and browser?
'browser' => false,
],
],
],
'handlers' => [
// * A list of handlers/providers that will be appended to existing list of handlers
'custom' => [],
// * Overrides the list of handlers - use only what you really want
'override' => [],
],
];