diff options
author | Yorhel <git@yorhel.nl> | 2022-08-09 10:49:29 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2022-08-09 10:52:15 +0200 |
commit | 3195c481157e45bc9cc37c28be22ebf1b663c208 (patch) | |
tree | 1e334aec2b896862de78aeabe3f98188d38875ff /data/docs | |
parent | efbed0eb912801f5cc618ea384362f11518cde65 (diff) |
Avoid a deadlock when image vote & DB edit happen at the same time
Happened about once day. Problem is that both a DB edit and a related image
vote want to update the same rows in the users and images tables, but do
so in different order. This workaround seems to do the trick.
Diffstat (limited to 'data/docs')
0 files changed, 0 insertions, 0 deletions