-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
89 additions
and
71 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
disjob-admin/ruoyi-disjob/src/main/resources/application-worker.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Disjob worker configuration | ||
disjob.worker: | ||
group: default | ||
timing-wheel-tick-ms: 100 | ||
timing-wheel-ring-size: 60 | ||
maximum-pool-size: 100 | ||
keep-alive-time-seconds: 300 | ||
process-thread-pool-size: 6 | ||
worker-token: 358678bfe34648f68b607036a27c6854 | ||
supervisor-token: 20bb8b7f1cb94dc894b45546a7c2982f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
disjob-core/src/main/java/cn/ponfee/disjob/core/exception/GroupNotFoundException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* __________ _____ *\ | ||
** \______ \____ _____/ ____\____ ____ Copyright (c) 2017-2023 Ponfee ** | ||
** | ___/ _ \ / \ __\/ __ \_/ __ \ http://www.ponfee.cn ** | ||
** | | ( <_> ) | \ | \ ___/\ ___/ Apache License Version 2.0 ** | ||
** |____| \____/|___| /__| \___ >\___ > http://www.apache.org/licenses/ ** | ||
** \/ \/ \/ ** | ||
\* */ | ||
|
||
package cn.ponfee.disjob.core.exception; | ||
|
||
import cn.ponfee.disjob.common.exception.BaseRuntimeException; | ||
import cn.ponfee.disjob.core.base.JobCodeMsg; | ||
|
||
/** | ||
* Group not found exception | ||
* | ||
* @author Ponfee | ||
*/ | ||
public class GroupNotFoundException extends BaseRuntimeException { | ||
private static final long serialVersionUID = -8974006648944765503L; | ||
|
||
public GroupNotFoundException() { | ||
super(JobCodeMsg.UN_AUTHENTICATED); | ||
} | ||
|
||
public GroupNotFoundException(String message) { | ||
super(JobCodeMsg.UN_AUTHENTICATED.getCode(), message); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.