Fix #571:make timeout configurable and bump default to 15 sec

This commit is contained in:
Drew Weymouth
2025-03-05 07:47:52 -08:00
parent 4fa50b7381
commit ed36879cda
5 changed files with 16 additions and 11 deletions
+2 -1
View File
@@ -54,8 +54,8 @@ type AppConfig struct {
Language string
DisableDPIDetection bool
EnableAutoUpdateChecker bool
RequestTimeoutSeconds int
// Experimental - may be removed in future
FontNormalTTF string
FontBoldTTF string
UIScaleSize string
@@ -191,6 +191,7 @@ func DefaultConfig(appVersionTag string) *Config {
EnqueueBatchSize: 100,
Language: "auto",
EnableAutoUpdateChecker: true,
RequestTimeoutSeconds: 15,
},
AlbumPage: AlbumPageConfig{
TracklistColumns: []string{"Artist", "Time", "Plays", "Favorite", "Rating"},