queue size should reflect multibuilds
some jobs have multiple builds, which all increase
the queue size (I'd think?). So let's multiply queue
size by number of concurrent jobs.
diff --git a/src/plugins/scanners/travis.py b/src/plugins/scanners/travis.py
index d7addd5..e753933 100644
--- a/src/plugins/scanners/travis.py
+++ b/src/plugins/scanners/travis.py
@@ -238,7 +238,7 @@
if cb:
# Is the build currently running?
if cb['state'] == 'started':
- building += 1
+ building += len(cb.get('jobs', [1]))
# Queue up build jobs for the threaded scanner
bid = repo['id']