Merge pull request #1155 from lohanidamodar/fix-certificates-queueing

fix-certificates-queueing
This commit is contained in:
Eldad A. Fux 2021-05-18 19:24:12 +03:00 committed by GitHub
commit 44cccf1ff3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,9 +64,9 @@ App::init(function ($utopia, $request, $response, $console, $project, $consoleDB
$dbDomain = $consoleDB->createDocument($dbDomain);
Authorization::enable();
Console::info('Issuing a TLS certificate for the master domain (' . $domain->get() . ') in ~30 seconds..'); // TODO move this to installation script
Console::info('Issuing a TLS certificate for the master domain (' . $domain->get() . ') in a few seconds...'); // TODO move this to installation script
ResqueScheduler::enqueueAt(\time() + 30, 'v1-certificates', 'CertificatesV1', [
Resque::enqueue('v1-certificates', 'CertificatesV1', [
'document' => $dbDomain,
'domain' => $domain->get(),
'validateTarget' => false,