Chore(): localised improvement to promotion module (#13446)

**What**
- Remove overserialization withing transaction and rely more on internal service or protected method instead which does not serialize and work with Infered entity type
- Slightly rework loop complexity

Overall, this gives a good spare of resources and time spent for serialization
This commit is contained in:
Adrien de Peretti
2025-09-10 12:20:31 +02:00
committed by GitHub
parent d978749603
commit ac09b3cbef
9 changed files with 129 additions and 67 deletions

View File

@@ -539,7 +539,7 @@ moduleIntegrationTestRunner<IWorkflowEngineService>({
throwOnError: false,
})
await setTimeout(1000)
await setTimeout(4000)
expect(lastExepectHaveBeenCalledTimes).toEqual(1)
})