Backed out changeset d06f1587b264 (bug 1892062) for causing backgroundtasks related xpcshell failures.

This commit is contained in:
Stanca Serban 2024-04-19 05:17:13 +03:00
parent c4ab772dbd
commit 41bd1f6954

View file

@ -36,12 +36,7 @@ ChromeUtils.defineLazyGetter(lazy, "DevToolsStartup", () => {
// export const backgroundTaskTimeoutSec = X;
// export const backgroundTaskMinRuntimeMS = Y;
let timingSettings = {
// Set minTaskRuntimeMS to 3 minutes temporarily to investigate bug 1741675
// We keep it at 500 ms in testing to avoid test timeouts
minTaskRuntimeMS:
Cu.isInAutomation || Services.env.exists("MOZ_MARIONETTE")
? 500 // 500 ms.
: 3 * 60 * 1000, // 3 minutes.
minTaskRuntimeMS: 500,
maxTaskRuntimeSec: 600, // 10 minutes.
};