Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
40c750b9
Commit
40c750b9
authored
Dec 10, 2021
by
helinlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接语音数据
parent
33f0f67f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
AppSpeechTranscriber.java
...in/java/com/yeejoin/amos/speech/AppSpeechTranscriber.java
+2
-0
No files found.
amos-boot-utils/amos-boot-utils-speech/src/main/java/com/yeejoin/amos/speech/AppSpeechTranscriber.java
View file @
40c750b9
...
@@ -41,6 +41,8 @@ public class AppSpeechTranscriber {
...
@@ -41,6 +41,8 @@ public class AppSpeechTranscriber {
public
void
run
()
{
public
void
run
()
{
idleTime
++;
idleTime
++;
if
(
idleTime
>
60
)
{
if
(
idleTime
>
60
)
{
timerTask
.
cancel
();
serverSocketTimeoutTimer
.
cancel
();
logger
.
warn
(
"serverSocket,port:"
+
serverSocket
.
getLocalPort
()
+
" 等待60s无数据回复即将自动关闭!"
);
logger
.
warn
(
"serverSocket,port:"
+
serverSocket
.
getLocalPort
()
+
" 等待60s无数据回复即将自动关闭!"
);
closeServerSocket
();
closeServerSocket
();
}
}
...
...
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