From edf0b7de4528c8c778db1da34830c4b0cefc16c8 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Tue, 14 Mar 2023 17:31:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=97=B6=E9=97=B4=E5=BB=B6?= =?UTF-8?q?=E9=95=BF=E5=88=B02=E5=B0=8F=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/gitea/client_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/gitea/client_service.rb b/app/services/gitea/client_service.rb index 2fb8ba4a3..efd43c4e7 100644 --- a/app/services/gitea/client_service.rb +++ b/app/services/gitea/client_service.rb @@ -82,7 +82,7 @@ class Gitea::ClientService < ApplicationService req.headers['Content-Type'] = 'application/json' req.response :logger # 显示日志 req.adapter Faraday.default_adapter - req.options.timeout =21600 # open/read timeout in seconds + req.options.timeout =7200 # open/read timeout in seconds req.options.open_timeout = 10 # connection open timeout in seconds if token.blank? req.basic_auth(username, secret)