Optimize memory consumption in dashboard
* Store records with fields required for aggregation * Load records from runtime storage when details are needed * Refactoring of activity summary report Part of blueprint memory-optimizations Change-Id: I87c14ef0ad9583632cb2fcba4af6d43a0d3ec0b1
This commit is contained in:
@@ -270,7 +270,6 @@ class RecordProcessor(object):
|
||||
|
||||
patch_sets = record.get('patchSets', [])
|
||||
review['updated_on'] = review['date']
|
||||
review['patch_count'] = len(patch_sets)
|
||||
if patch_sets:
|
||||
patch = patch_sets[-1]
|
||||
if 'approvals' in patch:
|
||||
|
||||
Reference in New Issue
Block a user