]> BookStack Code Mirror - bookstack/commitdiff
Doubled default revision limit
authorDan Brown <redacted>
Tue, 23 Aug 2022 15:31:34 +0000 (16:31 +0100)
committerDan Brown <redacted>
Tue, 23 Aug 2022 15:32:07 +0000 (16:32 +0100)
Due to potential increase of revision entries due to auto-changes.

.env.example.complete
app/Config/app.php

index 45b1c7a863969d0fabc07081a3a2ff87d7f17871..7a0e3cf2560cecdf9843c7a4b7771a3389ed3b43 100644 (file)
@@ -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
index 53d399abec46977f3a6f6917cc5514f8758859c3..e28ebe611a17297115a005a7e436524f2fcdd21f 100644 (file)
@@ -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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.