limiting 6 suggestions per packaging time

This commit is contained in:
Vinicius Moreira
2019-08-07 18:27:43 -03:00
parent b64090f2af
commit 6313da8a7b

View File

@@ -1,4 +1,3 @@
import time
from abc import ABC, abstractmethod
from argparse import Namespace
from threading import Thread
@@ -326,7 +325,7 @@ class GenericApplicationManager(ApplicationManager):
if self.managers:
suggestions, threads = [], []
for man in self.managers:
t = Thread(target=self._fill_suggestions, args=(suggestions, man, limit))
t = Thread(target=self._fill_suggestions, args=(suggestions, man, 6))
t.start()
threads.append(t)