XenForo
Administrative
- Thread starter
- Admin
- #1
Every other location which touches
This can result in a race condition between a post reaction cache being rebuilt and the reactions container cache being rebuilt.
PHP:
Read more
ادامه مطلب...
container('reactions')
guards against the reaction id being tested against actually exists in the cache. This appears to be the only place which doesn't.This can result in a race condition between a post reaction cache being rebuilt and the reactions container cache being rebuilt.
PHP:
Code:
if ($scoreField)
{
$reactionsCache = \XF::app()->container('reactions');
$score = 0;
foreach ($counts AS $reactionId => $count)
{
$reaction =...
Read more
ادامه مطلب...