Skip to content
Snippets Groups Projects
  1. Nov 08, 2022
  2. Nov 07, 2022
  3. Nov 04, 2022
  4. Nov 01, 2022
  5. Oct 31, 2022
  6. Oct 28, 2022
  7. Oct 22, 2022
  8. Oct 15, 2022
  9. Oct 11, 2022
  10. Sep 30, 2022
  11. Sep 26, 2022
  12. Sep 25, 2022
  13. Sep 24, 2022
  14. Sep 13, 2022
    • Kevin Morris's avatar
      fix: retry transactions who fail due to deadlocks · ec315201
      Kevin Morris authored
      
      In my opinion, this kind of handling of transactions is pretty ugly.
      The being said, we have issues with running into deadlocks on aur.al,
      so this commit works against that immediate bug.
      
      An ideal solution would be to deal with retrying transactions through
      the `db.begin()` scope, so we wouldn't have to explicitly annotate
      functions as "retry functions," which is what this commit does.
      
      Closes #376
      
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
      Verified
      ec315201
  15. Sep 12, 2022
Loading