From: Dan Brown Date: Tue, 23 Aug 2022 15:31:34 +0000 (+0100) Subject: Doubled default revision limit X-Git-Tag: v22.09~1^2~24^2~2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/d134639eca88830d6ce6a9ba816adc9e7bed4183?ds=inline Doubled default revision limit Due to potential increase of revision entries due to auto-changes. --- diff --git a/.env.example.complete b/.env.example.complete index 45b1c7a86..7a0e3cf25 100644 --- a/.env.example.complete +++ b/.env.example.complete @@ -295,7 +295,7 @@ APP_DEFAULT_DARK_MODE=false # Page revision limit # Number of page revisions to keep in the system before deleting old revisions. # If set to 'false' a limit will not be enforced. -REVISION_LIMIT=50 +REVISION_LIMIT=100 # Recycle Bin Lifetime # The number of days that content will remain in the recycle bin before diff --git a/app/Config/app.php b/app/Config/app.php index 53d399abe..e28ebe611 100644 --- a/app/Config/app.php +++ b/app/Config/app.php @@ -22,7 +22,7 @@ return [ // The number of revisions to keep in the database. // Once this limit is reached older revisions will be deleted. // If set to false then a limit will not be enforced. - 'revision_limit' => env('REVISION_LIMIT', 50), + 'revision_limit' => env('REVISION_LIMIT', 100), // The number of days that content will remain in the recycle bin before // being considered for auto-removal. It is not a guarantee that content will