Remote avatar called each page load rather than once per session

Bug #1524095 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Robert Lyon

Bug Description

The remote avatar is called when we have 'remoteavatars' config set to true.

It does a curl command to fetch the remote avatar information.
The curl call is quite walltime slow.

it would be better to fetch the remote avatar once per session rather than once per page load.

Tags: performance
Robert Lyon (robertl-9)
Changed in mahara:
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/5828

Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 16.04.0 → 16.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5828
Committed: https://git.mahara.org/mahara/mahara/commit/53da3434d540d94b917680005a283249a5deb253
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 53da3434d540d94b917680005a283249a5deb253
Author: Robert Lyon <email address hidden>
Date: Wed Dec 9 12:01:08 2015 +1300

Bug 1524095: Allow the remote avatar be fetch once per session

To speed up the system by avoiding too many curl_exec() calls

behatnotneeded

Change-Id: I8ac650cffbd70fb0756a6b0a426fe2f6e0ba97cf
Signed-off-by: Robert Lyon <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.