mirror of
https://github.com/ansible/awx.git
synced 2026-07-29 08:59:55 -02:30
Implement gathering overall task capacity
For use when running/planning jobs
This commit is contained in:
@@ -26,6 +26,10 @@ class Instance(models.Model):
|
||||
hostname = models.CharField(max_length=250, unique=True)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
modified = models.DateTimeField(auto_now=True)
|
||||
capacity = models.PositiveIntegerField(
|
||||
default=100,
|
||||
editable=False,
|
||||
)
|
||||
|
||||
class Meta:
|
||||
app_label = 'main'
|
||||
|
||||
Reference in New Issue
Block a user