This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
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 'fix-1365' (
#1373
) from fix-1311 into V20220125
Reviewed-on:
https://git.openi.org.cn/OpenI/aiforge/pulls/1373
Reviewed-by: lewis <747342561@qq.com>
pull/1411/head
lewis
3 years ago
parent
98d48e6b9d
a7c28dc463
commit
b66b53d00d
2 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
models/repo_watch.go
+1
-0
services/socketwrap/clientManager.go
+ 4
- 1
models/repo_watch.go
View File
@@ -305,7 +305,10 @@ func NotifyWatchersActions(acts []*Action) error {
return err
}
}
return sess.Commit()
err := sess.Commit()
producer(acts...)
return err
}
func watchIfAuto(e Engine, userID, repoID int64, isWrite bool) error {
+ 1
- 0
services/socketwrap/clientManager.go
View File
@@ -50,6 +50,7 @@ func (h *ClientsManager) Run() {
}
case message := <-models.ActionChan:
if isInOpTypes(opTypes, message.OpType) {
message.Comment = nil
LastActionsQueue.Push(message)
for _, client := range h.Clients.Keys() {
select {
Write
Preview
Loading…
Cancel
Save