From d69b8ecf953f752efae3bb1b4f1ff3034d5cdcb9 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Thu, 1 Sep 2022 12:13:05 +0200 Subject: fix(bg-jobs): Fix running once when no job was scheduled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/register_command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/register_command.php') diff --git a/core/register_command.php b/core/register_command.php index 96a821b6f8c..f3ae8efa300 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -94,7 +94,7 @@ if ($config->getSystemValueBool('installed', false)) { $application->add(Server::get(Command\Background\Job::class)); $application->add(Server::get(Command\Background\ListCommand::class)); $application->add(Server::get(Command\Background\Delete::class)); - $application->add(Server::get(Command\Background\Worker::class)); + $application->add(Server::get(Command\Background\JobWorker::class)); $application->add(Server::get(Command\Broadcast\Test::class)); -- cgit v1.2.3