Make engine transactions shorter
Registered by
Renat Akhmerov
Make engine transactions shorter. Now direct workflow handler has a pretty heavy DB query to find all completed tasks we haven’t scheduled next tasks for. Theoretically we can optimize it by passing “cause task” to corresponding workflow controller methods and do search only for this task. There may be potential problems with “join” though, need to think how to handler it properly in this case.
In general, we need to look at transactions and try to move out of their scope as much logic as possible, do all possible preprocessing before transactions.
Blueprint information
- Status:
- Complete
- Approver:
- Renat Akhmerov
- Priority:
- High
- Drafter:
- Renat Akhmerov
- Direction:
- Approved
- Assignee:
- Renat Akhmerov
- Definition:
- Superseded
- Series goal:
- Accepted for ocata
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
- Renat Akhmerov
Related branches
Related bugs
Sprints
Whiteboard
(?)