Skip to content
Snippets Groups Projects

Execute docker tasks in RQ

Merged Valentin Rigal requested to merge dummy-tasks into community
All threads resolved!
2 files
+ 7
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -397,8 +397,9 @@ class Process(IndexableModel):
process_builder.build()
# Save all tasks and their relations
process_builder.save()
# Trigger tasks execution in RQ
schedule_tasks(self, process_builder.run)
if settings.PONOS_RQ_EXECUTION:
# Trigger tasks execution in RQ
schedule_tasks(self, process_builder.run)
self.started = timezone.now()
self.finished = None
Loading