@torrent-tv/proxy 2.101.18 → 2.101.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@torrent-tv/proxy",
3
- "version": "2.101.18",
3
+ "version": "2.101.19",
4
4
  "description": "Torrent proxy client that exposes webseed-like HTTP stream endpoint.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {
@@ -430,7 +430,10 @@ export class QualityController {
430
430
  // it is read as a copy.
431
431
  const unchanged = standing && standingBefore &&
432
432
  standing.height === standingBefore.height && standing.at === standingBefore.at;
433
- if (unchanged && !this.#affirmed.has(consumerId)) {
433
+ const urgentMachineDown = unchanged && standing.urgent === true &&
434
+ standing.reason.startsWith("machine-bound ");
435
+ const machineRecovered = !urgentMachineDown || this.#roomToSpare(session, consumerId);
436
+ if (unchanged && !this.#affirmed.has(consumerId) && machineRecovered) {
434
437
  this.#host.dropAskOf(base, consumerId);
435
438
  logger.info(
436
439
  `[budget] transcode ${base.id} no longer asks ${consumerId} for ${standing.height}p: ` +