Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
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
liyuan
byit-myth-job
Commits
8b2c98c5
Commit
8b2c98c5
authored
Dec 16, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改RPC超时时间
parent
c03c6b2b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
RunScriptServiceImpl.java
...main/java/com/byit/service/impl/RunScriptServiceImpl.java
+1
-1
RpcCallbackInstanceRunTheLifeCycleCallback.java
...instances/RpcCallbackInstanceRunTheLifeCycleCallback.java
+1
-1
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/impl/RunScriptServiceImpl.java
View file @
8b2c98c5
...
@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service;
...
@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service;
*/
*/
@Service
@Service
public
class
RunScriptServiceImpl
implements
RunScriptService
{
public
class
RunScriptServiceImpl
implements
RunScriptService
{
@RpcReference
(
timeout
=
30000
)
@RpcReference
(
timeout
=
-
1
)
private
ScriptExecutorService
scriptExecutorService
;
private
ScriptExecutorService
scriptExecutorService
;
@Override
@Override
public
DispatchResponseDto
runScript
(
ScriptDto
scriptDto
)
{
public
DispatchResponseDto
runScript
(
ScriptDto
scriptDto
)
{
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/strategy/instances/RpcCallbackInstanceRunTheLifeCycleCallback.java
View file @
8b2c98c5
...
@@ -35,7 +35,7 @@ import java.util.Map;
...
@@ -35,7 +35,7 @@ import java.util.Map;
@MythRankOrder
(
2
)
@MythRankOrder
(
2
)
public
class
RpcCallbackInstanceRunTheLifeCycleCallback
implements
InstanceRunTheLifeCycleCallback
{
public
class
RpcCallbackInstanceRunTheLifeCycleCallback
implements
InstanceRunTheLifeCycleCallback
{
@TaskClient
(
timeout
=
3
0000
,
callMethodEnum
=
CallMethodEnum
.
SYNCHRONIZE
)
@TaskClient
(
timeout
=
6
0000
,
callMethodEnum
=
CallMethodEnum
.
SYNCHRONIZE
)
private
TaskServer
taskServer
;
private
TaskServer
taskServer
;
private
final
WorkspaceService
workspaceService
;
private
final
WorkspaceService
workspaceService
;
...
...
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