summaryrefslogtreecommitdiff
path: root/releng/fixtures
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-04-13 11:33:17 -0500
committerDan McGee <dan@archlinux.org>2013-04-13 11:41:33 -0500
commit2c24ee9100a9e60fec16055d6496caeda3a1d8e2 (patch)
tree7d7ac7f0ab84cd22d57545fc408d9f41e9028cfc /releng/fixtures
parent06e1e857abfdf7f95661d337ce3c315bd51fb837 (diff)
Calculate average URL delay in the database
Rather than doing this in the Python code and needing 12,000+ rows returned from the database, we can do it in the database and get fewer than 300 rows back. If I recall correctly, the reason this was not done originally was due to our usage of MySQL and some really bad date math/overflow stuff it did when the interval between last_sync and check_time were greater than about a week. Luckily, we have switched to using a more sane database. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'releng/fixtures')
0 files changed, 0 insertions, 0 deletions