getOnlineCounts() can be called multiple times in stock configuration and can be expensive

Status
This content is read-only, or is not open for further replies.

Xon

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom