This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
gitea
mirror of
https://github.com/go-gitea/gitea.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
210
Wiki
Activity
Browse Source
Fix mirror sync not automatically sending webhook requests (
#7366
)
tags/v1.9.0-rc1
Drew
4 years ago
parent
62d6127f1b
commit
89aa08d372
1 changed files
with
5 additions
and
0 deletions
Split View
Show Diff Stats
5
0
models/action.go
+ 5
- 0
models/action.go
View File
@@ -896,6 +896,11 @@ func mirrorSyncAction(e Engine, opType ActionType, repo *Repository, refName str
}); err != nil {
return fmt.Errorf("notifyWatchers: %v", err)
}
defer func() {
go HookQueue.Add(repo.ID)
}()
return nil
}
Write
Preview
Loading…
Cancel
Save