Skip to content

Commit 937b517

Browse files
committedJul 25, 2022
Add note about risky performance improvements
1 parent e918369 commit 937b517

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎README.md

+10
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ php flarum fof:sitemap:build
3333

3434
_Best for larger forums, starting at 10.000 items._
3535

36+
### Risky Performance Improvements
37+
38+
_This setting is meant for large enterprise customers._
39+
40+
The optional "Enable risky performance improvements" option modifies the discussion and user SQL queries to limit the number of columns returned.
41+
By removing those columns, it significantly reduces the size of the database response but might break custom visibility scopes or slug drivers added by extensions.
42+
43+
This setting only brings noticeable improvements if you have millions of discussions or users.
44+
We recommend not enabling it unless the CRON job takes more than an hour to run or that the SQL connection gets saturated by the amount of data.
45+
3646
## Scheduling
3747

3848
Consider setting up the Flarum scheduler, which removes the requirement to setup a cron job as advised above.

0 commit comments

Comments
 (0)
Please sign in to comment.