mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
导入时间延长到2小时
This commit is contained in:
@@ -82,7 +82,7 @@ class Gitea::ClientService < ApplicationService
|
|||||||
req.headers['Content-Type'] = 'application/json'
|
req.headers['Content-Type'] = 'application/json'
|
||||||
req.response :logger # 显示日志
|
req.response :logger # 显示日志
|
||||||
req.adapter Faraday.default_adapter
|
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
|
req.options.open_timeout = 10 # connection open timeout in seconds
|
||||||
if token.blank?
|
if token.blank?
|
||||||
req.basic_auth(username, secret)
|
req.basic_auth(username, secret)
|
||||||
|
|||||||
Reference in New Issue
Block a user