Browse Source

只实时发送公有库的action

tags/v1.22.1.1^2
ychao_1983 3 years ago
parent
commit
bd8d9181d3
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      models/repo_watch.go

+ 3
- 1
models/repo_watch.go View File

@@ -286,7 +286,9 @@ func NotifyWatchers(actions ...*Action) error {

func producer(actions ...*Action) {
for _, action := range actions {
ActionChan <- action
if !action.IsPrivate{
ActionChan <- action
}
}
}



Loading…
Cancel
Save