Try to pre-generate as many avatars as possible

VERIFIED FIXED in 2.4

Status

support.mozilla.org
Users and Groups
P3
normal
VERIFIED FIXED
7 years ago
7 years ago

People

(Reporter: jsocol, Assigned: jsocol)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

(Assignee)

Description

7 years ago
Generating avatars is easy, if we modify the migration command to look for existing avatar images, we can probably pre-generate 140,000 of them and save some time during the migration itself.

We'll still want it to pick up anyone new, and to make sure TikiUsers have Django Users and Profiles, and I'm uncomfortable running a giant SQL update on tables as crucial as users_users and auth_user, when the migration is idempotent as-is. So we should still run the management command on prod, but saving time is a win.

If we can't get to this, nothing is broken it just takes a little longer.
(Assignee)

Comment 1

7 years ago
https://github.com/jsocol/kitsune/commit/f618255d5

Before the 14th, I'll do one more run through of this and generate the first 140,000 or so, then we can save time during the release.

In the testing I did, I got inconsistent results, that changed dramatically based on how many avatars I was handling. They were all better, but they varied between 20-50% improvements.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Closed as [qa-]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.