1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

Prevent unnecessary SSL jobs

This commit is contained in:
Matej Bačo 2022-05-12 10:56:25 +00:00
parent 1c2fdab9ea
commit 3efb904151

View file

@ -99,13 +99,13 @@ App::init(function ($utopia, $request, $response, $console, $project, $dbForCons
]);
$domainDocument = $dbForConsole->createDocument('domains', $domainDocument);
}
Console::info('Issuing a TLS certificate for the main domain (' . $domain->get() . ') in a few seconds...');
Resque::enqueue(Event::CERTIFICATES_QUEUE_NAME, Event::CERTIFICATES_CLASS_NAME, [
'domain' => $domain->get()
]);
Console::info('Issuing a TLS certificate for the main domain (' . $domain->get() . ') in a few seconds...');
Resque::enqueue(Event::CERTIFICATES_QUEUE_NAME, Event::CERTIFICATES_CLASS_NAME, [
'domain' => $domain->get()
]);
}
}
$domains[$domain->get()] = true;