LP#1849212: (follow-up) avoid open-ils.courses drone starvation
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 01:16:30 +0000 (21:16 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 01:16:30 +0000 (21:16 -0400)
In particular, ensure that open-ils.courses.course_materials.retrieve.atomic
will return.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Courses.pm

index 577807a..1717dc1 100644 (file)
@@ -140,6 +140,7 @@ sub fetch_course_materials {
         $materials = $e->search_asset_course_module_course_materials($args);
     }
     $conn->respond($_) for @$materials;
+    $conn->respond_complete();
     return undef;
 }