Skip to content

Commit e411be2

Browse files
committed
Improve reliability of SendBeaconJob
1 parent 26a9da7 commit e411be2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Jobs/SendBeaconJob.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ public function handle(): void
2222
return;
2323
}
2424

25-
$request = Http::asJson()->post('https://cachethq.io/beacon', [
25+
$request = Http::asJson()
26+
->retry(3)
27+
->post('https://cachethq.io/beacon', [
2628
'install_id' => app(AppSettings::class)->install_id,
29+
'php_version' => PHP_VERSION,
2730
'version' => Cachet::version(),
2831
'docker' => config('cachet.docker'),
2932
'database' => config('database.default'),

0 commit comments

Comments
 (0)