Apply static caching to the private messages unread counter

Created on 8 May 2024, 11 months ago
Updated 4 June 2024, 10 months ago

Problem/Motivation

The updateUnreadCount() function in SocialPrivateMessageService is sometimes called multiple times during a request.

Steps to reproduce

Set a breakpoint in the code, observe it gets executed multiple times.

Proposed resolution

Although the impact is relatively low, applying a simple static caching will reduce data loads.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

12.3

Component

Code (back-end)

Created by

🇳🇱Netherlands bramtenhove

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024