this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add some more indices to backfiller DB (#651)

authored by

Jaz and committed by
GitHub
aa88fecc 094423f4

+2 -2
+2 -2
backfill/gormstore.go
··· 34 34 type GormDBJob struct { 35 35 gorm.Model 36 36 Repo string `gorm:"unique;index"` 37 - State string `gorm:"index"` 37 + State string `gorm:"index;index:failed_job_idx,where:state like 'failed%'"` 38 38 Rev string 39 39 RetryCount int 40 - RetryAfter *time.Time 40 + RetryAfter *time.Time `gorm:"index"` 41 41 } 42 42 43 43 // Gormstore is a gorm-backed implementation of the Backfill Store interface