This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request '没有实际运行的任务结束时不发送微信通知' (
#2716
) from fix-2712 into V20220830
Reviewed-on:
https://git.openi.org.cn/OpenI/aiforge/pulls/2716
Reviewed-by: lewis <747342561@qq.com>
tags/v1.22.8.2^2
lewis
3 years ago
parent
89cd75c9a9
b897791dec
commit
76a54700bd
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
modules/auth/wechat/cloudbrain.go
+ 4
- 1
modules/auth/wechat/cloudbrain.go
View File
@@ -77,7 +77,10 @@ func (CloudbrainStopMsg) ShouldSend(ctx *TemplateContext) bool {
}
for _, v := range setting.CloudbrainStoppedNotifyList {
if v == ctx.Cloudbrain.JobType {
return true
if ctx.Cloudbrain.Duration > 0 && ctx.Cloudbrain.EndTime > 0 {
return true
}
break
}
}
return false
Write
Preview
Loading…
Cancel
Save