瀏覽代碼

Reptition problems

Gamaliel Espinoza Macedo 6 年之前
父節點
當前提交
9cea3c603a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ondemand/service.py

+ 1 - 0
ondemand/service.py

@@ -117,6 +117,7 @@ def process_queue_with_threads():
                 try:
                     item = queue.get(False)
                     thread = Thread(target=process_segment, args=(item,))
+                    threads[index] = thread
                     thread.start()
                 except Empty:
                     is_drained = True