Flicks production video random order updating only once every 3 hours

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
5 years ago
3 years ago

People

(Reporter: mkelly, Assigned: mkelly)

Tracking

Details

(Assignee)

Description

5 years ago
We noticed over the past few days that the random ordering for the Flicks video page (https://firefoxflicks.mozilla.org/en-US/video/) wasn't updating every hour. I've since timed it and it seems to be updating once every 3 hours.

cturra: Can you confirm the cronjob on Flicks production is set to run once an hour? If so, I suspect a caching issue is the culprit here.

gregoryjost: To help prioritize this, is it acceptable that the order is only updating once every three hours instead of every hour?
(Assignee)

Updated

5 years ago
Assignee: nobody → mkelly
Flags: needinfo?(gjost)
Flags: needinfo?(cturra)

Comment 1

5 years ago
I think the faster it updates the better, but I don't think it is critical. I would suspect users feeling suspicious about it would try several times in a row, get the same ordering and draw their conclusions. 1 or 3 hours wouldn't change much.

So I'll for shortening the randomizing loop but don't think this is urgent. Having that some time by mid-next week would be nice though.
Flags: needinfo?(gjost)
(In reply to Michael Kelly [:mkelly] from comment #0)
> cturra: Can you confirm the cronjob on Flicks production is set to run once
> an hour? If so, I suspect a caching issue is the culprit here.

that is correct, the cron runs every hour on the 59th minute.

59 * * * * root /usr/bin/flock -w 10 /var/lock/firefoxflicks-video /data/genericrhel6/src/firefoxflicks.mozilla.org/firefox-flicks/manage.py cron update_random_video_ordering > /dev/null 2>&1
Flags: needinfo?(cturra)
(Assignee)

Comment 3

3 years ago
Random ordering doesn't matter now that the contest has been over for years now.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.