summaryrefslogtreecommitdiffstats
path: root/main/migrations/0036_auto__chg_field_userprofile_user.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-17 19:34:12 +0100
committerDan McGee <dan@archlinux.org>2011-11-17 19:49:10 +0100
commita9819e3d715ce3e5c20c9665db9a6100f06ab562 (patch)
tree0d5b457e7de06401095a17993735b1530f20f454 /main/migrations/0036_auto__chg_field_userprofile_user.py
parent9d2fdbe5bc6a0d9ab2907b377056851fc5eb56c3 (diff)
downloadarchweb-a9819e3d715ce3e5c20c9665db9a6100f06ab562.tar.gz
archweb-a9819e3d715ce3e5c20c9665db9a6100f06ab562.tar.xz
Ensure reporead is protected against simultaneous runs
This adds a bunch of transaction magic and SELECT FOR UPDATE stuff to reporead to cope with the now-concurrent runs of reporead we get when invoked from our inotify-based updater. The collision occurs with 'any' architecture packages as both repo databases contain the new version, and the updates occur at exactly the same time. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/migrations/0036_auto__chg_field_userprofile_user.py')
0 files changed, 0 insertions, 0 deletions