mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 05:54:15 +02:00
limiting 6 suggestions per packaging time
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user