Closed gandreadakis closed 11 years ago
When RankInfoCalculation.recalculateRankInfos() transaction is run :
@Asynchronous @Transactional(TransactionPropagationType.REQUIRED) public QuartzTriggerHandle schedule(@Expiration Date when, @IntervalDuration Long interval, @FinalExpiration Date endDate) { rankInfoCalculation.recalculateRankInfos(); getEntityManager().flush(); info("Finished Recalculating ReankInfos!"); return null; }
it locks the database until processing is done. Find a way to do it in batches.
Done. Closing issue
When RankInfoCalculation.recalculateRankInfos() transaction is run :
it locks the database until processing is done. Find a way to do it in batches.