$e->editor->disconnect;
}
- # Could report on how the "found" events were grouped, but who's going to
- # consume that information?
- for my $key (keys %groups) {
- if (@{ $groups{$key} }) {
- $client->respond({"status" => "found"});
- last;
- }
- }
-
return \%groups;
}
my ($groups) = $self->method_lookup('open-ils.trigger.event.find_pending_by_group')->run($granularity);
+ # Could report on how the "found" events were grouped, but who's going to
+ # consume that information?
+ for my $key (keys %$groups) {
+ if (@{ $$groups{$key} }) {
+ $client->respond({"status" => "found"});
+ last;
+ }
+ }
+
for my $def ( keys %$groups ) {
if ($def eq '*') {
$logger->info("trigger: run_all_events firing un-grouped events");