fix: Email should be retried with backoff

This commit is contained in:
Andras Bacsai
2024-11-26 10:19:05 +01:00
parent a014bf1713
commit dabda4e806
19 changed files with 58 additions and 136 deletions

View File

@@ -31,7 +31,12 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
}
public function __construct(public Server $server) {}
public function __construct(public Server $server)
{
if (isDev()) {
$this->handle();
}
}
public function handle()
{