diff --git a/app/controllers/general.php b/app/controllers/general.php index c9e95a83d3..5892aee47e 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -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,