This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
添加定时任务配置项 修复定时任务导致其它处理器阻塞的问题 [@issue/30](#30) [@zx-issue/9](NumberSir/zhenxun_arktools#9) 修复猜干员无法判断重复猜的问题 [@zx-issue/10](NumberSir/zhenxun_arktools#10) 修复猜干员结果图不按顺序绘制的问题
- Loading branch information
Showing
15 changed files
with
164 additions
and
128 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from .path_config import * | ||
from .ocr_config import * | ||
from .proxy_config import * | ||
from .scheduler_config import * |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
"""百度ocr设置""" | ||
from pydantic import BaseModel, Extra | ||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
"""代理设置""" | ||
from pydantic import BaseModel, Extra | ||
|
||
|
||
|
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,16 @@ | ||
"""定时任务设置""" | ||
from pydantic import BaseModel, Extra | ||
|
||
|
||
class SchedulerConfig(BaseModel, extra=Extra.ignore): | ||
"""定时任务相关配置""" | ||
announce_push_switch: bool = False # 自动获取 & 推送舟舟最新公告开关 | ||
announce_push_interval: int = 1 # 间隔多少分钟运行一次 | ||
|
||
sanity_notify_switch: bool = False # 检测理智提醒开关 | ||
sanity_notify_interval: int = 10 # 间隔多少分钟运行一次 | ||
|
||
|
||
__all__ = [ | ||
"SchedulerConfig" | ||
] |
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.