diff --git a/base/config/01-base.config.php b/base/config/01-base.config.php index dcb096774fdf9b5d933c82a575b3f46e1ef1d02b..5939d83bbb965c26e265a9d76dad225bafba547f 100644 --- a/base/config/01-base.config.php +++ b/base/config/01-base.config.php @@ -20,4 +20,7 @@ $CONFIG = array ( // sharing https://github.com/nextcloud/server/blob/master/config/config.sample.php#L1458-L1475 'sharing.maxAutocompleteResults' => 10, 'sharing.minSearchStringLength' => 2, -); \ No newline at end of file + // https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#deleted-items-trash-bin + // delete all files in the trash bin that are older than 30 days automatically, delete other files anytime if space needed (trash takes more than 50% of quota) + 'trashbin_retention_obligation' => 'auto,30', +);