Skip to content

Memoize MR merged/closed events retrieval

Paco Guzman requested to merge memoize_merge_request_events into master

What does this MR do?

Memoize a database call that is execute 3 consecutive times

Why was this MR needed?

To speed up MR pages

What are the relevant issue numbers?

#14202 (moved) , #19490 (closed)

Screenshots (if relevant)

The query is fast most of the times, but we can avoid the 3 call counts to the database

Screen_Shot_2016-07-08_at_12.49.48

Does this MR meet the acceptance criteria?

Merge request reports