Apply static caching to the private messages unread counter

Created on 8 May 2024, about 2 months ago
Updated 4 June 2024, 25 days 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.69.0 2024