mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
![]() When running a task (e.g. importing other distribution data), the web frontend polls to get task output every second. In the view handling this request we check to see if the underlying Celery task is finished by getting the AsyncResult and then calling result.ready(). Unfortunately that latter call seems to be failing some of the time in the development Docker setup that I am using, throwing a ConnectionResetError. Because the polling is regular it doesn't really matter if this fails as there'll be another chance on the next poll, so just allow the call to fail silently. (It pains me to put in workarounds like this but at the moment I can't determine the real cause of the issue, and this stops the stream of ultimately useless error report emails that I'm getting as an admin of the development instance). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
||
---|---|---|
.. | ||
migrations | ||
static | ||
templatetags | ||
tools | ||
__init__.py | ||
admin.py | ||
auth_forms.py | ||
auth_views.py | ||
bulkchange.py | ||
context_processors.py | ||
forms.py | ||
layerconfparse.py | ||
models.py | ||
querysethelper.py | ||
recipedesc.py | ||
recipeparse.py | ||
restperm.py | ||
restviews.py | ||
securityquestions.py | ||
tasks.py | ||
update_layer.py | ||
update.py | ||
urls_branch.py | ||
urls.py | ||
utils.py | ||
views.py |