layerindex-web/layerindex
Paul Eggleton 29dd3afa66 tasks: squash out CRs in task logs to avoid huge transfers
Reloading an existing update task page was taking an extremely long time
to fetch down the task log and then pegging the client CPU such that the
browser gave a warning. Digging into it, logs from a Clear Linux update
task can be of the order of 500MB in size (with all of the line
refreshing using CRs that happens during downloads), causing (a) the
transfer to take a long time and (b) the JS code that updates the log
text box to be extremely busy. If we're loading the entire log from
scratch (as we are when we refresh the page) rather than just getting an
update since the last poll, we don't need any of those line refreshes -
so squash them out before returning the data.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2019-12-09 11:40:12 +13:00
..
migrations Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
static Upgrade Chart.js to 2.9.3 2019-12-09 11:39:47 +13:00
templatetags Replace custom pagination with django-bootstrap-pagination 2019-07-17 11:31:04 +12:00
tools editlayer: Be more specific on the searches 2019-10-14 09:20:33 +13:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
auth_forms.py Optionally allow accounts without security questions to reset password 2019-07-25 16:25:06 +12:00
auth_views.py Optionally allow accounts without security questions to reset password 2019-07-25 16:25:06 +12:00
bulkchange.py update.py: Allow bitbake to live in a subdirectory of a repository 2019-10-14 09:20:14 +13:00
context_processors.py Fix admin logout login button redirection 2019-07-25 16:25:06 +12:00
forms.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
layerconfparse.py update.py: Allow bitbake to live in a subdirectory of a repository 2019-10-14 09:20:14 +13:00
middleware.py Fix axes lockout not working 2019-07-17 11:31:04 +12:00
models.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
querysethelper.py Replace usage of model._meta.get_all_field_names() 2018-04-24 10:15:47 +12:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py update: ensure removed recipe dependencies are removed from db 2019-12-09 11:40:12 +13:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py API: fix recipes API performance regression 2019-09-16 17:14:25 +12:00
securityquestions.py Add user security questions 2019-07-17 11:30:56 +12:00
tasks.py More shell quoting 2019-07-17 11:31:04 +12:00
update_layer.py update: ensure removed recipe dependencies are removed from db 2019-12-09 11:40:12 +13:00
update.py update: fix exception with -x/--nofetch option 2019-11-21 02:51:30 +13:00
urls_branch.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
urls.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
utils.py Try to make running background commands more responsive 2019-07-17 11:31:04 +12:00
views.py tasks: squash out CRs in task logs to avoid huge transfers 2019-12-09 11:40:12 +13:00