Update models/git/branch.go

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
yp05327 2023-11-10 11:40:36 +09:00 committed by GitHub
parent 7fa0362d36
commit a2425ce6ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)