Increase backstop queue timeouts across the app
This commit is contained in:
parent
c28313bd0c
commit
4568527232
16 changed files with 47 additions and 23 deletions
|
@ -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,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue