Skip to content

Commit

Permalink
fix: match priority
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ding committed Oct 20, 2024
1 parent 1192d00 commit 677923e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/prowlarr/prowlarr.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (c *Client) GetIndexers() ([]*db.TorznabInfo, error) {
entIndexer := ent.Indexers{
Name: in.Name,
Implementation: "torznab",
Priority: int(in.Priority),
Priority: 128 - int(in.Priority),
SeedRatio: float32(seedRatio),
Settings: string(data),
}
Expand Down

0 comments on commit 677923e

Please sign in to comment.