core icon indicating copy to clipboard operation
core copied to clipboard

fix(jobs) : fixed external transaction for delete content job batche

Open dsolistorres opened this issue 7 months ago • 2 comments

Closes #32203

Proposed Changes

This pull request introduces changes to the ESContentFactoryImpl class:

  • Added a method pauseDeleteContentIfNeeded to pause the deletion process after a configurable number of batches to prevent system overload. New configuration properties OLD_CONTENT_JOB_PAUSE_MS and OLD_CONTENT_BATCHES_BEFORE_PAUSE were introduced to control the pause duration and batch count threshold.
  • Replaced @WrapInTransaction(externalize = true) with @ExternalTransaction in the deleteContentBatch method to simplify transaction handling.
  • *Updated the default value of OLD_CONTENT_BATCH_SIZE from 8192 to 100 to reduce the workload per batch and improve system responsiveness.

dsolistorres avatar Jun 12 '25 13:06 dsolistorres

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
angular-example-uve ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 4:20pm
astro-example-uve ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 4:20pm
nextjs-example-uve ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 4:20pm

vercel[bot] avatar Jun 16 '25 13:06 vercel[bot]

🤖 No test run has been triggered as your Meticulous project has been deactivated (since you haven't viewed any test results in a while). Click here to reactivate.

Last updated for commit fe94ac8. This comment will update as new commits are pushed.

alwaysmeticulous[bot] avatar Jun 16 '25 13:06 alwaysmeticulous[bot]