Skip to content

[ING-376] fix(events): Cache counter for GET /events#5881

Open
vincent-pochet wants to merge 1 commit into
mainfrom
fix-cache-counter-events
Open

[ING-376] fix(events): Cache counter for GET /events#5881
vincent-pochet wants to merge 1 commit into
mainfrom
fix-cache-counter-events

Conversation

@vincent-pochet

@vincent-pochet vincent-pochet commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Context

The response time from GET /events endpoint is slow on organization with a large number of events leading to timeout in some situation.

Description

This PR applies the count caching approach added to fees in #5838 to the events endpoint to avoid counting records over and over when it's not necessary.

NOTE: this PR does not address the initial performance issue on the count itself, this will be addressed in a next pull request.

@vincent-pochet vincent-pochet changed the title fix(events): Cache counter for GET /events [ING-376] fix(events): Cache counter for GET /events Jul 7, 2026
@vincent-pochet
vincent-pochet marked this pull request as ready for review July 7, 2026 16:10
@vincent-pochet
vincent-pochet force-pushed the fix-cache-counter-events branch from 3061fbd to 12c9547 Compare July 7, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant