Limit the number of retries when failing to index a repo
This commit is contained in:
parent
37ccca4c2f
commit
4626b8b9ca
3 changed files with 8 additions and 3 deletions
|
@ -27,6 +27,7 @@ type Repo struct {
|
|||
TombstonedAt time.Time
|
||||
LastIndexAttempt time.Time
|
||||
LastError string
|
||||
FailedAttempts int `gorm:"default:0"`
|
||||
}
|
||||
|
||||
type Record struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue