Skip to content

Commit e38c1d3

Browse files
committed
Make lidarr timeout an int
1 parent cf296ab commit e38c1d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ type Lidarr struct {
6666
DownloadAttempts int `env:"LIDARR_DL_ATTEMPTS" env-default:"3"` // Max number of files to attempt downloading per track
6767
LidarrDir string `env:"LIDARR_DIR" env-default:"/lidarr/"`
6868
MigrateDL bool `env:"MIGRATE_DOWNLOADS" env-default:"false"` // Move downloads from SlskdDir to DownloadDir
69-
Timeout time.Duration `env:"LIDARR_TIMEOUT" env-default:"20s"`
69+
Timeout int `env:"LIDARR_TIMEOUT" env-default:"20"`
7070
Scheme string `env:"LIDARR_SCHEME" env-default:"http"`
7171
URL string `env:"LIDARR_URL"`
7272
Filters Filters

0 commit comments

Comments
 (0)