Skip to content

Commit a009ff5

Browse files
authored
Update gitCommandTimeout to 15m (#603)
1 parent 27c35ba commit a009ff5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
go-version: ${{ matrix.go-version }}
1818
- uses: actions/checkout@v2
1919
- name: Cache go modules
20-
uses: actions/cache@v2
20+
uses: actions/cache@v4
2121
with:
2222
path: ~/go/pkg/mod
2323
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}

snapshot/git/repo/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
log "github.com/sirupsen/logrus"
1616
)
1717

18-
const gitCommandTimeout = 10 * time.Minute
18+
const gitCommandTimeout = 15 * time.Minute
1919
const gitCleanupTimeout = 5 * time.Minute
2020
const gitIndexLock = ".git/index.lock"
2121

0 commit comments

Comments
 (0)