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
4d78f232c3
commit
331ccafc87
|
@ -158,7 +158,7 @@ require 'travis/model'
|
||||||
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