1
0
Fork 0
forked from fedi/mastodon
Commit graph

2 commits

Author SHA1 Message Date
ThibG dfb45374d2 Fix AddLockVersionToPolls migration () 2019-03-07 01:50:06 +01:00
ThibG 96f905f409 Add optimistic lock to avoid race conditions when handling votes ()
* Add optimistic lock to avoid race conditions when handling votes

* Force-reload polls when getting `ActiveRecord::StaleObjectError`
2019-03-06 19:53:57 +01:00