Skip to content
Snippets Groups Projects
  1. Jun 09, 2017
  2. Jun 08, 2017
  3. Jun 07, 2017
  4. Jun 06, 2017
  5. Jun 05, 2017
    • ThibG's avatar
      Try fixing ThreadResolveWorker calls (#3599) · 7adac1bc
      ThibG authored
      * Try fixing ThreadResolveWorker calls
      
      From my understanding of ActiveRecord, a transaction is commited as soon as
      the exit of the outmost ActiveRecord.transaction block. However, inner
      transaction blocks will exit without the transaction being commited.
      
      In this case, ThreadResolveWorker were fired *within* a transaction block,
      so moving the call out of it should do the trick. However, this is somewhat
      fragile, as this whole codepath could be called within yet another transaction.
      
      * Set status thread within the transaction block if it is immediately available from database
      7adac1bc
Loading