Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

Commit

Permalink
feat: increase timeout for arr clients
Browse files Browse the repository at this point in the history
  • Loading branch information
ze0s committed Sep 8, 2022
1 parent 94a6a82 commit 4f3895b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/processor/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (s Service) radarr(ctx context.Context, cfg *domain.ArrConfig, dryRun bool,
}

func (s Service) processRadarr(cfg *domain.ArrConfig, logger *zerolog.Logger) ([]string, error) {
c := starr.New(cfg.Apikey, cfg.Host, 0)
c := starr.New(cfg.Apikey, cfg.Host, 60)

if cfg.BasicAuth != nil {
if cfg.BasicAuth.User != "" {
Expand Down Expand Up @@ -206,7 +206,7 @@ func (s Service) sonarr(ctx context.Context, cfg *domain.ArrConfig, dryRun bool,
}

func (s Service) processSonarr(cfg *domain.ArrConfig, logger *zerolog.Logger) ([]string, error) {
c := starr.New(cfg.Apikey, cfg.Host, 0)
c := starr.New(cfg.Apikey, cfg.Host, 60)

if cfg.BasicAuth != nil {
if cfg.BasicAuth.User != "" {
Expand Down

0 comments on commit 4f3895b

Please sign in to comment.