From 6313da8a7b8e980ae38ba4ded9c84090e791151a Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Wed, 7 Aug 2019 18:27:43 -0300 Subject: [PATCH] limiting 6 suggestions per packaging time --- fpakman/core/controller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fpakman/core/controller.py b/fpakman/core/controller.py index dadf3f4e..22ce4b66 100755 --- a/fpakman/core/controller.py +++ b/fpakman/core/controller.py @@ -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)