From 8c9a15c5231113a06c5aabb12f18e73c724a3e4d Mon Sep 17 00:00:00 2001 From: hashbro Date: Mon, 14 Sep 2026 12:45:36 +0800 Subject: [PATCH] fix: static --- config/nutgram.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/nutgram.php b/config/nutgram.php index 75550a7..601ef12 100644 --- a/config/nutgram.php +++ b/config/nutgram.php @@ -14,6 +14,9 @@ return [ 'config' => [ // Baota PHP curl is often built without nghttp2; Guzzle HTTP/2 then fatals. 'enable_http2' => (bool) env('NUTGRAM_ENABLE_HTTP2', false), + // Match TelegramNotifier sendMessage (15s). Default 5s dies when + // api.telegram.org TLS/IPv6 is slow; getChatMember then looks like "not admin". + 'timeout' => (int) env('NUTGRAM_TIMEOUT', 15), ], // Set if the service provider should automatically load