mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-14 13:05:09 +00:00
fix(vaults): stop querying sibling KIDs and skip unavailable vaults
The server CDM stub names only the manifest's KIDs; sibling keys stay content keys. API and HTTP vaults retry a 429, and a vault that is down or still rate limited costs one timeout per run.
This commit is contained in:
@@ -33,6 +33,9 @@ class FakeVaults:
|
||||
def __len__(self):
|
||||
return 1
|
||||
|
||||
def held_locally(self, kid, key):
|
||||
return False
|
||||
|
||||
def get_key(self, kid):
|
||||
return self.held.get(kid), self.vault_used
|
||||
|
||||
|
||||
Reference in New Issue
Block a user