Commit graph

2 commits

Author SHA1 Message Date
Igor
8db6c4c6e7 Reduce the number of SQL requests on MR-show
- Extract MR fields for notes into a separate serializer
- Check if pipelines are empty via count
2019-08-28 21:09:22 +00:00
Igor
b99011af62 Split MR widget into cached and non-cached serializers
Splits auto-refreshing of MR widget into 2 requests:

- the one which uses etag-caching and invalidates the fields on change
- the one without caching

The idea is to gradually move all the fields to etag-cached endpoint
2019-08-09 21:01:55 +00:00