feat: tighten ai concurrency settings
This commit is contained in:
@@ -142,13 +142,19 @@ class SettingsTab(QWidget):
|
||||
self.default_image_model_combo.setObjectName("defaultImageModelCombo")
|
||||
self.title_concurrency_spin = QSpinBox()
|
||||
self.title_concurrency_spin.setObjectName("titleConcurrencySpin")
|
||||
self.title_concurrency_spin.setRange(1, 64)
|
||||
self.title_concurrency_spin.setRange(
|
||||
appconfig.AI_CONCURRENCY_MIN,
|
||||
appconfig.AI_CONCURRENCY_MAX,
|
||||
)
|
||||
self.image_concurrency_spin = QSpinBox()
|
||||
self.image_concurrency_spin.setObjectName("imageConcurrencySpin")
|
||||
self.image_concurrency_spin.setRange(1, 64)
|
||||
self.image_concurrency_spin.setRange(
|
||||
appconfig.AI_CONCURRENCY_MIN,
|
||||
appconfig.AI_CONCURRENCY_MAX,
|
||||
)
|
||||
self.retry_spin = QSpinBox()
|
||||
self.retry_spin.setObjectName("retrySpin")
|
||||
self.retry_spin.setRange(0, 20)
|
||||
self.retry_spin.setRange(appconfig.AI_RETRY_MIN, appconfig.AI_RETRY_MAX)
|
||||
self.resolution_combo = QComboBox()
|
||||
self.resolution_combo.setObjectName("resolutionCombo")
|
||||
for resolution in self.RESOLUTION_ITEMS:
|
||||
|
||||
Reference in New Issue
Block a user