XF2 Add-on AndyB - Rebuild post reactions cache 1.5 - Xenforo Add-Ons

virgilio183

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Master
Joined
May 16, 2021
Messages
25,956
Reaction score
35,562
Points
113
NullCash
628,023
Description:
Rebuilds post reactions cache.
This add-on is useful to remove deleted members reactions.

(Example of Rebuild now button)
pic001.jpg

Features:
  • Can be run from ACP or as CLI.
  • All phrases start with rebuildpostreactionscache_ for your convenience.
Run from browser:
If your forum has less than 100K posts, run from the Admin control panel.
Navigate to the following:
Admin control panel -> Tools -> Rebuild caches -> Rebuilds post reactions cache

Run from CLI:
If your forum has more than 100K posts, run from CLI.
Go to your server terminal
Navigate to the directory your forum is installed in.
Enter the following command:
php cmd.php xf-rebuild:rebuildpostreactionscache

Questions and Answers:
Q: I get a 504 Gateway Timeout.
A: Run from CLI.
Q: Running from CLI how long does it take to process 1M posts?
A: About an hour.


Compatible XF Versions 2.0 , 2.1 , 2.2
 

Attachments

  • Andy-RebuildPostReactionsCache-1.5.zip
    45.3 KB · Views: 0
Top