mirror of
https://github.com/simon-ding/polaris.git
synced 2026-05-26 04:27: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{
|
entIndexer := ent.Indexers{
|
||||||
Name: in.Name,
|
Name: in.Name,
|
||||||
Implementation: "torznab",
|
Implementation: "torznab",
|
||||||
Priority: int(in.Priority),
|
Priority: 128 - int(in.Priority),
|
||||||
SeedRatio: float32(seedRatio),
|
SeedRatio: float32(seedRatio),
|
||||||
Settings: string(data),
|
Settings: string(data),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user