Rebuild post reactions cache

XF2 Addons Rebuild post reactions cache 1.5
Rebuilds post reactions cache.

Compatible versions
2.0, 2.1, 2.2
Description:
Rebuilds post reactions cache.

This add-on is useful to remove deleted members reactions.

(Example of Rebuild now button)
4673


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.
FateKid
Author FateKid
Level
11
6,835 pts
1.5 Version
0 Downloads
662 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Top Bottom