Add missing index on retries_remaining
This commit is contained in:
parent
af1d4e8dc8
commit
9f2d6282bd
2 changed files with 27 additions and 1 deletions
|
@ -606,7 +606,7 @@ class QueueItem(BaseModel):
|
|||
available_after = DateTimeField(default=datetime.utcnow, index=True)
|
||||
available = BooleanField(default=True, index=True)
|
||||
processing_expires = DateTimeField(null=True, index=True)
|
||||
retries_remaining = IntegerField(default=5)
|
||||
retries_remaining = IntegerField(default=5, index=True)
|
||||
|
||||
|
||||
class RepositoryBuild(BaseModel):
|
||||
|
|
Reference in a new issue