mirror of
https://github.com/simon-ding/polaris.git
synced 2026-03-07 10:00:46 +08:00
fix: match priority
This commit is contained in:
@@ -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),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user