Execute docker tasks in RQ
Compare changes
Files
2+ 41
− 24
@@ -17,6 +17,7 @@ import docker
@@ -76,10 +77,26 @@ def notify_process_completion(
@@ -88,7 +105,8 @@ def run_docker_task(client, task, temp_dir):
@@ -96,20 +114,20 @@ def run_docker_task(client, task, temp_dir):
@@ -117,8 +135,6 @@ def run_docker_task(client, task, temp_dir):
@@ -126,30 +142,24 @@ def run_docker_task(client, task, temp_dir):
@@ -202,7 +212,14 @@ def run_task_rq(task: Task):