Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaoai-video
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚珂
yaoai-video
Commits
a6819dfe
Commit
a6819dfe
authored
May 09, 2026
by
yaoke.yk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
超时配置修改
parent
2ce18b88
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
6 deletions
+21
-6
nginx.conf
doc/html/nginx.conf
+3
-3
projects.ts
doc/html/src/lib/api/projects.ts
+9
-3
application.yml
...studio/yaoai-bootstrap/src/main/resources/application.yml
+9
-0
No files found.
doc/html/nginx.conf
View file @
a6819dfe
...
...
@@ -10,9 +10,9 @@ server {
proxy_pass
http://backend:8080/
;
proxy_http_version
1
.1
;
proxy_request_buffering
off
;
proxy_connect_timeout
30
0s
;
proxy_send_timeout
3
00s
;
proxy_read_timeout
3
00s
;
proxy_connect_timeout
6
0s
;
proxy_send_timeout
6
00s
;
proxy_read_timeout
6
00s
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Real-IP
$remote_addr
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
...
...
doc/html/src/lib/api/projects.ts
View file @
a6819dfe
...
...
@@ -79,7 +79,7 @@ export const projectsApi = {
.
post
<
{
data
:
AssetDTO
}
>
(
`/projects/
${
projectId
}
/assets?assetType=
${
assetType
}
`
,
form
,
{
headers
:
{
"Content-Type"
:
undefined
}
}
{
headers
:
{
"Content-Type"
:
undefined
}
,
timeout
:
600
_000
}
)
.
then
(
wrap
);
},
...
...
@@ -99,12 +99,18 @@ export const projectsApi = {
/** 解析已上传的剧本 doc/docx,返回结构化摘要(不写库,用于预览) */
parseScript
:
(
projectId
:
string
):
Promise
<
ScriptInfoDTO
>
=>
apiClient
.
get
<
{
data
:
ScriptInfoDTO
}
>
(
`/projects/
${
projectId
}
/assets/script/parse`
)
.
get
<
{
data
:
ScriptInfoDTO
}
>
(
`/projects/
${
projectId
}
/assets/script/parse`
,
{
timeout
:
600
_000
,
})
.
then
(
wrap
),
/** 一键导入:解析并写入大纲、分集、角色、场景、分镜 */
importScript
:
(
projectId
:
string
):
Promise
<
ScriptInfoDTO
>
=>
apiClient
.
post
<
{
data
:
ScriptInfoDTO
}
>
(
`/projects/
${
projectId
}
/assets/script/import`
)
.
post
<
{
data
:
ScriptInfoDTO
}
>
(
`/projects/
${
projectId
}
/assets/script/import`
,
undefined
,
{
timeout
:
600
_000
}
)
.
then
(
wrap
),
};
yaoai-comic-studio/yaoai-bootstrap/src/main/resources/application.yml
View file @
a6819dfe
...
...
@@ -58,6 +58,11 @@ spring:
max-file-size
:
100MB
max-request-size
:
100MB
mvc
:
async
:
# 异步控制器(DeferredResult/Callable)超时时间,长链路 LLM 解析需要
request-timeout
:
600000
server
:
port
:
${SERVER_PORT:8080}
servlet
:
...
...
@@ -65,6 +70,10 @@ server:
compression
:
enabled
:
true
mime-types
:
application/json,text/plain
tomcat
:
# 等待首个请求字节的连接超时,大文件上传放宽
connection-timeout
:
600000
keep-alive-timeout
:
600000
management
:
endpoints
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment