diff --git a/internal/config/types.go b/internal/config/types.go index 6d51ba3..f676bc1 100644 --- a/internal/config/types.go +++ b/internal/config/types.go @@ -48,7 +48,7 @@ type ZurgConfig struct { Version string `yaml:"zurg" json:"-"` Token string `yaml:"token" json:"-"` - APIRateLimitPerMinute int `yaml:"api_rate_limit_per_second" json:"api_rate_limit_per_second"` + APIRateLimitPerMinute int `yaml:"api_rate_limit_per_minute" json:"api_rate_limit_per_minute"` ApiTimeoutSecs int `yaml:"api_timeout_secs" json:"api_timeout_secs"` AutoAnalyzeNewTorrents bool `yaml:"auto_analyze_new_torrents" json:"auto_analyze_new_torrents"` CacheNetworkTestResults bool `yaml:"cache_network_test_results" json:"cache_network_test_results"` @@ -76,7 +76,7 @@ type ZurgConfig struct { RetainRDTorrentName bool `yaml:"retain_rd_torrent_name" json:"retain_rd_torrent_name"` RetriesUntilFailed int `yaml:"retries_until_failed" json:"retries_until_failed"` ServeFromRclone bool `yaml:"serve_from_rclone" json:"serve_from_rclone"` - TorrentsRateLimitPerMinute int `yaml:"torrents_rate_limit_per_second" json:"torrents_rate_limit_per_second"` + TorrentsRateLimitPerMinute int `yaml:"torrents_rate_limit_per_minute" json:"torrents_rate_limit_per_minute"` Username string `yaml:"username" json:"username"` }