forked from lix-project/hydra
hydra-notify: sort subscriptions
This commit is contained in:
parent
4da80e736e
commit
96b2200895
|
@ -93,11 +93,11 @@ my $task_dispatcher = Hydra::TaskDispatcher->new(
|
|||
my $dbh = $db->storage->dbh;
|
||||
|
||||
my $listener = Hydra::PostgresListener->new($dbh);
|
||||
$listener->subscribe("build_finished");
|
||||
$listener->subscribe("build_queued");
|
||||
$listener->subscribe("build_started");
|
||||
$listener->subscribe("build_finished");
|
||||
$listener->subscribe("step_finished");
|
||||
$listener->subscribe("hydra_notify_dump_metrics");
|
||||
$listener->subscribe("step_finished");
|
||||
|
||||
# Process builds that finished while hydra-notify wasn't running.
|
||||
for my $build ($db->resultset('Builds')->search(
|
||||
|
|
Loading…
Reference in a new issue