Wrong queue size logged?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SoundConverter |
Fix Released
|
Low
|
GautierPortet |
Bug Description
This is for an old report that Soundconverter prints a wrong queue size, because it doesn't take into account the number of running tasks. Occasionally a user stumbles into this, because "queue size = number of files" is the expected output.
diff -Nur soundconverter-
--- soundconverter-
+++ soundconverter-
@@ -79,7 +79,8 @@
def started(self):
""" BackgroundTask setup callback """
- log('Queue start: %d tasks, %d thread(s).' % (len(self.
+ tn = len(self.
+ log('Queue start: %d tasks, %d thread(s).' % (tn, settings['jobs']))
self.count = 0
Changed in soundconverter: | |
status: | Fix Committed → Fix Released |
This sounds wrong. Not the fix, but the fact that an already running queue can be started again...