docbrown/spec
Gonzalo Ricco 5d22cdef79
Prevent deadlocks with article-collection updates. (#6371) [deploy]
When an article is updated the associated collection is touched along with all its articles. This creates a deadlock where two transaction(nested) lock the article that was updated.
With this commit the collection wll be touched after the article updates transaction has been commited. Doing so we have two sequential transactions.
2020-03-02 09:38:15 -05:00
..
black_box Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
decorators Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00
factories Mailchimp resubscribe (#6256) 2020-02-27 15:48:38 -05:00
fixtures Creating podcasts by users (#3730) [deploy] 2020-01-08 16:14:25 -05:00
helpers Add cache_key helper (#6190) [deploy] 2020-02-20 17:36:49 -05:00
initializers Refactor Elasticsearch client access (#6307) [deploy] 2020-02-28 11:38:37 -05:00
jobs/shared_examples Remove Reactions::UpdateReactableJob & spec (#6059) [deploy] 2020-02-13 08:59:03 -08:00
labor Allow different casings to be specified for syntax highlighting (#6354) 2020-02-28 12:36:27 -05:00
lib Notify slack when release phase fails (#6300) [deploy] 2020-02-27 10:50:59 -05:00
liquid_tags Bump Twitter to 7.0 and refactor TwitterBot (#6246) [deploy] 2020-02-24 08:34:41 -05:00
mailers [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
models Prevent deadlocks with article-collection updates. (#6371) [deploy] 2020-03-02 09:38:15 -05:00
observers Move SlackBotPingJob to Sidekiq (#5615) 2020-01-22 08:24:33 -05:00
policies Remove leftover Stripe subscriptions code (#6243) 2020-02-24 08:33:36 -05:00
requests Started moving sponsorships to /internal (#6355) [deploy] 2020-03-01 12:48:47 -05:00
routing Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
services Refactor search specs to use index_documents helper (#6365) [deploy] 2020-02-28 11:08:46 -08:00
support Search ClassifiedListings backend code (#6348) 2020-02-28 10:51:33 -05:00
system Adds administrate gem CSS & JS assets to Sprockets Manifest (#6291) [deploy] 2020-02-26 09:21:09 -06:00
uploaders Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
views Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
workers Only send notifications that belong to an active broadcast (#6319) [deploy] 2020-02-27 08:02:45 -08:00
rails_helper.rb Search ClassifiedListings backend code (#6348) 2020-02-28 10:51:33 -05:00
spec_helper.rb Temporarily comment out random (#2486) 2019-04-18 11:56:38 -04:00