(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@catalyst-au.net>
Please register or sign in to comment