mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-13 01:38:33 +03:00
Fix semaphore count should be at least one
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -798,7 +798,7 @@ class UserServersQTableWidget(QTranslatable, AppQTableWidget):
|
||||
)
|
||||
|
||||
self.testDownloadSpeedMultiPort = 30000
|
||||
self.testDownloadSpeedMultiSema = QtCore.QSemaphore(OS_CPU_COUNT // 2)
|
||||
self.testDownloadSpeedMultiSema = QtCore.QSemaphore(max(OS_CPU_COUNT // 2, 1))
|
||||
|
||||
# Text Editor Window
|
||||
self.textEditorWindow = TextEditorWindow(parent=self.parent())
|
||||
|
||||
Reference in New Issue
Block a user