ubuntu-bengali-manual team mailing list archive
-
ubuntu-bengali-manual team
-
Mailing list archive
-
Message #03090
[Bug 620394] Re: Cleverer 'update' mechanism
** Changed in: loco-directory
Status: In Progress => Fix Committed
** Changed in: loco-directory
Milestone: None => 0.2.18
--
Cleverer 'update' mechanism
https://bugs.launchpad.net/bugs/620394
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.
Status in LoCo Directory: Fix Committed
Bug description:
The LoCo Directory gets more and more functions and more and more external data find its way into the LD. We don't need to udpate all the data in every cron run.
- update-countries: once a day (even less would be fine)
- update-languages: once a day (even less would be fine)
- lpupdate:
+ get list of teams (every 10-15 minutes?)
+ get list of admins/owners (every 10-15 minutes?)
+ get statistics (bug 605651) (every 2 hours?)
+ get all team members (so we can appoint loco contacts) (every 30 minutes?)
- etc. - there will be even more stuff in the future.
To make sure we don't have too many concurrent cronjob going on, I suggest we kick off "./manage.py update" every 10 minutes. It itself should keep track of which job needs to be run in which intervals and let the jobs leave stamp files somewhere, so we can check when it was last run.
References