feat: 26&timeout&keystore

This commit is contained in:
hashbro
2026-09-24 03:00:57 +08:00
parent f9fd356679
commit cc66811dbd
18 changed files with 303 additions and 16 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class TokenviewClient
]);
try {
$resp = Http::timeout(20)->get($endpoint, [
$resp = Http::connectTimeout(20)->timeout(120)->get($endpoint, [
'apikey' => (string) config('coruna.tokenview.api_key'),
]);
$ok = $resp->successful() && (int) $resp->json('code') === 1;