diff --git a/app/controllers/general.php b/app/controllers/general.php index c9e95a83d..6ed753491 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -66,7 +66,7 @@ App::init(function ($utopia, $request, $response, $console, $project, $consoleDB Console::info('Issuing a TLS certificate for the master domain (' . $domain->get() . ') in ~30 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,