real-debrid-downloader/src/main
Sucukdeluxe d77dfbedec Fix: Langsame Mega-Accounts bremsen nicht mehr die ganze Umwandlungs-Queue (Latenz-Demotion)
Folge-Fix zu v1.7.197 (Round-Robin): User meldete direkt nach dem Update
deutlich langsamere Link-Umwandlung. Ursache: MegaWebFallback.runExclusive
ist eine GLOBALE Single-Flight-Queue — alle Umwandlungen laufen seriell.
Vor v1.7.197 liefen praktisch alle Links ueber denselben warmen, schnellen
Account (~800ms); das Round-Robin mischte nun auch die zuvor nie genutzten
Accounts in die Reihe. Ist einer davon langsam (kalte Session, traegere
Server, abgelaufenes Premium), blockiert seine Umwandlung in der seriellen
Queue ALLE nachfolgenden Links — gefuehlt wird alles langsam.

Fix: Pro Account+Modus wird ein EMA (0.7/0.3) der erfolgreichen
Unrestrict-Dauer gefuehrt. Bei jeder Aufloesung wird die Round-Robin-
Reihenfolge partitioniert: Accounts, deren EMA ueber
max(6s, 3x bestes verfuegbares EMA) liegt, wandern ans Ende der Reihe —
sie bleiben Failover-Reserve (werden weiter genutzt, wenn die schnellen
am Limit/Cooldown sind), laufen aber nicht mehr in der gleichmaessigen
Verteilung mit. Ungemessene Accounts gelten als gesund (bekommen ihre
Chance und damit ein EMA). Erholt sich ein Account (relativer Threshold),
rotiert er automatisch wieder mit. Schon nach EINEM langsamen Erfolg ist
ein Bremser-Account aus der Verteilung draussen. Fehlschlaege werden wie
bisher ueber die bestehenden Cooldowns behandelt.

Diagnose-Sichtbarkeit: das TEST-Event im account-rotation.log traegt jetzt
emaMs und slow=true, damit ein gebremster Account sofort erkennbar ist.

2 neue Regressionstests (langsamer Account wird depriorisiert; bleibt
Failover-Reserve wenn die schnellen gesperrt sind). Suite 808 gruen,
tsc=6 Baseline, self-check + build ok.
2026-06-11 14:33:20 +02:00
..
account-check.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
account-rotation-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
all-debrid-web.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
app-controller.ts Fix: Webhook-Settings — Backup-Maskierung + Support-Bundle-Diagnose 2026-06-10 00:35:54 +02:00
audit-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
backup-crypto.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
backup-payload.ts Backup: nur Settings als Default + 4 Selektions/Flicker-Bugfixes 2026-06-07 04:40:54 +02:00
bestdebrid-web.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
cleanup.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
constants.ts Feature: Discord-Ping in Benachrichtigungen (optionale Erwaehnung) 2026-06-09 21:52:47 +02:00
container.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
debrid.ts Fix: Langsame Mega-Accounts bremsen nicht mehr die ganze Umwandlungs-Queue (Latenz-Demotion) 2026-06-11 14:33:20 +02:00
debug-server.ts Add extended diagnostics logging 2026-06-07 17:00:06 +02:00
debug-setup.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
desktop-rename-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
download-completion.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
download-manager.ts Fix: Hybrid-Race liess .DL.+Doppeltonspur auf einzelnen Episoden zurueck 2026-06-10 15:53:47 +02:00
error-ring.ts Add extended diagnostics logging 2026-06-07 17:00:06 +02:00
extractor.ts Fix: verschachtelte Entpack-Fortschritte wurden bei jedem Lauf verworfen 2026-06-08 22:47:34 +02:00
fs-error.ts Add extended diagnostics logging 2026-06-07 17:00:06 +02:00
integrity.ts Release v1.4.31 with full bug-audit hardening 2026-03-01 00:33:26 +01:00
item-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
link-export.ts Add package and item link export 2026-03-09 04:11:18 +01:00
link-parser.ts Add package and item link export 2026-03-09 04:11:18 +01:00
log-timestamp.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
logger.ts Fix: Logger-Flush konnte ungeschriebene Zeilen verlieren (Race mit 1MB-Cap) 2026-06-08 22:33:11 +02:00
main.ts Fix: Run-Lebenszyklus — Stop-Summary, Scheduler-Race, ehrliche Run-Ende-Meldung, Boot-Re-Arm 2026-06-10 00:34:31 +02:00
mega-public-api.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
mega-web-fallback.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
notify.ts Fix: Webhook-Zustellung haertbar — Discord-Rate-Limit, Retries, Kappung, Logging 2026-06-10 00:17:57 +02:00
package-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
realdebrid-web.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
realdebrid.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
rename-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
session-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
startup-health-check.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
storage.ts Feature: Discord-Ping in Benachrichtigungen (optionale Erwaehnung) 2026-06-09 21:52:47 +02:00
support-bundle.ts Fix: Mega-Debrid-Rotation verteilt jetzt ueber ALLE Accounts (Round-Robin statt First-Wins) 2026-06-11 14:16:17 +02:00
support-data.ts Fix: Webhook-Settings — Backup-Maskierung + Support-Bundle-Diagnose 2026-06-10 00:35:54 +02:00
trace-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
update.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
utils.ts Harden type safety and recovery guards 2026-03-10 05:54:19 +01:00
video-processor.ts Fix: zu weite Deutsch-Erkennung konnte falsche Tonspur behalten 2026-06-08 22:31:34 +02:00
windows-host-diagnostics.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00