Put jobs with 'received' status to the running jobs list
The problem with running jobs list was that it didn't show jobs that went to the worker. The result was a confusing UI - when you look at the running jobs list you want to know how many concurrent jobs you are using, including jobs that are still waiting for a VM to boot.
This commit is contained in:
parent
4b78a81356
commit
2a44a46831
|
@ -164,7 +164,7 @@ compact = Travis.Helpers.compact
|
||||||
filtered = Ember.FilteredRecordArray.create(
|
filtered = Ember.FilteredRecordArray.create(
|
||||||
modelClass: Travis.Job
|
modelClass: Travis.Job
|
||||||
filterFunction: (job) ->
|
filterFunction: (job) ->
|
||||||
job.get('state') == 'started'
|
['started', 'received'].indexOf(job.get('state')) != -1
|
||||||
filterProperties: ['state']
|
filterProperties: ['state']
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user