Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
funasr_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1a9841ca
authored
Dec 17, 2024
by
‘chizw’
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]进程测试
1 parent
1da32563
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
mysql_service/funasr_db.py
mysql_service/funasr_db.py
View file @
1a9841c
...
@@ -91,7 +91,8 @@ def select_process_all_end():
...
@@ -91,7 +91,8 @@ def select_process_all_end():
def
select_time_out_task
():
def
select_time_out_task
():
sql
=
(
sql
=
(
"select id,task_id,file_url,task_status from ali_asr_model_res aamr where aamr.del_flag = 0 "
"select id,task_id,file_url,task_status from ali_asr_model_res aamr where aamr.del_flag = 0 "
"and aamr.output_data is null and aamr.execute_process_name is not null and exception_limit < 3 "
"and aamr.output_data is null and exception_limit < 3 "
# "and aamr.execute_process_name is not null "
"and aamr.updated_time < TIMESTAMPADD(HOUR, -
%
s, NOW());"
"and aamr.updated_time < TIMESTAMPADD(HOUR, -
%
s, NOW());"
)
)
return
pool
.
select_all
(
sql
,
(
2
))
return
pool
.
select_all
(
sql
,
(
2
))
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment