SchedulerBundle: bug(task): ChainedTask no longer works
the execution of the subtasks no longer works.
with the following configuration, only the bar task seems to run.
scheduler_bundle:
transport:
dsn: 'doctrine://default?execution_mode=first_in_first_out'
tasks:
chained:
type: 'chained'
output: true
description: 'chained with 2 tasks'
tasks:
foo:
type: 'command'
command: 'app:foo'
description: 'command foo chained'
output: true
bar:
type: 'command'
command: 'app:bar'
description: 'command bar in chained'
output: true
task5:
type: 'command'
command: 'app:foo'
description: 'command task 5'
output: false
task6:
type: 'command'
command: 'app:bar'
description: 'command task 6'
output: false
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (15 by maintainers)
Hi @jvancoillie 👋🏻
Small update on this issue, the fix is ready on the linked PR, as I’m always searching for performances and features, I’ve started to implement a lazy-loaded task list via the same PR, it must be ready to merge pretty soon, sorry for the delay 🙂
Hi @jvancoillie 👋🏻
The PR has been merged, the fix will be released via
0.5.0Nice it works ! great job.
Hello @Guikingone,
I just tried with the same configuration the
ChainedTypetask plays both subtasks well but now it is the last taskTask 6that is no longer executed.Hum, ok, got it, this may requires a new configuration to solve this, I haven’t thought about the
isRunningattribute.