← Back to team overview

mahara-contributors team mailing list archive

[Bug 1364687] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3613
Committed: http://gitorious.org/mahara/mahara/commit/f0fd10e2c0c0be08c8a8cc2459f2f388d4c548d9
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit f0fd10e2c0c0be08c8a8cc2459f2f388d4c548d9
Author: Nigel Cunningham <nigelc@xxxxxxxxxxxxxxx>
Date:   Wed Aug 6 15:24:56 2014 +1000

(Bug 1364687) Don't look for an artefact record when we know we're
making a new one.

Avoid the query for an existing artefact record when we know it doesn't
exist (because we're being called from create_user). This shaves
approximately 40% off the time for creating a user.

Change-Id: I81697dfd0916e4a2933dfe5d1389bdc649e6e856
Signed-off-by: Nigel Cunningham <nigelc@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1364687

Title:
  Avoid query for existing artefact record when we know it's new.

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  When importing users from a CSV file, we can avoid the query for an
  existing artefact record when we know it doesn't exist (because we're
  being called from create_user). This shaves approximately 40% off the
  time for creating a user.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1364687/+subscriptions


References