release: publish v2.0.34 account recovery fixes
Add a manual Mega-Debrid cooldown reset that preserves active downloads while releasing affected queued work. Replace false per-account cooling for ambiguous Mega-Web session failures with one shared session backoff, attribute fallback failures to the provider actually attempted, and accept omitted optional renderer settings during provider changes. Expand regression coverage and stabilize archive integration checks under concurrent validation load.
This commit is contained in:
@@ -72,4 +72,13 @@ describe("account preload contract", () => {
|
||||
"https://rapidgator.net/file/example"
|
||||
);
|
||||
});
|
||||
|
||||
it("resets Mega-Debrid runtime cooldowns through a dedicated channel", async () => {
|
||||
electron.invoke.mockResolvedValueOnce({ cleared: 3 });
|
||||
|
||||
const result = await (electron.api as unknown as { resetMegaDebridCooldowns: () => Promise<{ cleared: number }> }).resetMegaDebridCooldowns();
|
||||
|
||||
expect(electron.invoke).toHaveBeenCalledWith(IPC_CHANNELS.RESET_MEGA_DEBRID_COOLDOWNS);
|
||||
expect(result).toEqual({ cleared: 3 });
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user