RSS Feed/News getOnlineCounts() can be called multiple times in stock configuration and can be expensive

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
29,134
Points
823

Reputation:

SessionActivityRepository::getOnlineCounts() can be called by both the "online statistics" and "members online" widget in the same request, and this query can get expensive quickly. Especially as crawlers will bloat the session table, and can get stuck hammering pages sometimes.

Continue reading...
 
Status
Not open for further replies.
Top