fix: Email should be retried with backoff

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

No files matched your search

+6 -1
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()
{