mirror of https://github.com/go-gitea/gitea
Update models/git/branch.go
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
7fa0362d36
commit
a2425ce6ac
|
@ -440,7 +440,7 @@ func FindRecentlyPushedNewBranches(ctx context.Context, opts *FindRecentlyPushed
|
|||
))
|
||||
|
||||
if opts.CommitAfterUnix == 0 {
|
||||
opts.CommitAfterUnix = time.Now().Add(-time.Hour * 6).Unix()
|
||||
opts.CommitAfterUnix = time.Now().Add(-time.Hour * 2).Unix()
|
||||
}
|
||||
|
||||
baseBranch, err := GetBranch(ctx, opts.BaseRepo.ID, opts.BaseRepo.DefaultBranch)
|
||||
|
|
Loading…
Reference in New Issue