Increase backstop queue timeouts across the app

This commit is contained in:
Scott Nonnenberg 2022-06-27 09:46:43 -07:00 committed by GitHub
parent c28313bd0c
commit 4568527232
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 47 additions and 23 deletions

View file

@ -7,6 +7,7 @@ import { sleep } from './sleep';
import * as log from '../logging/log';
import * as Errors from '../types/errors';
import { clearTimeoutIfNecessary } from './clearTimeoutIfNecessary';
import { MINUTE } from './durations';
declare global {
// We want to extend `window`'s properties, so we need an interface.
@ -80,7 +81,7 @@ export function createWaitBatcher<ItemType>(
let items: Array<ItemHolderType<ItemType>> = [];
const queue = new PQueue({
concurrency: 1,
timeout: 1000 * 60 * 2,
timeout: MINUTE * 30,
throwOnTimeout: true,
});