Merge pull request woocommerce/woocommerce-admin#1369 from woocommerce/fix/1304-endless-loop-reports
Increase default `wc-api` timeout.
This commit is contained in:
commit
bb4df45e08
|
@ -2,12 +2,12 @@
|
||||||
/**
|
/**
|
||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
import { SECOND, MINUTE } from '@fresh-data/framework';
|
import { MINUTE } from '@fresh-data/framework';
|
||||||
|
|
||||||
export const NAMESPACE = '/wc/v4';
|
export const NAMESPACE = '/wc/v4';
|
||||||
|
|
||||||
export const DEFAULT_REQUIREMENT = {
|
export const DEFAULT_REQUIREMENT = {
|
||||||
timeout: 5 * SECOND,
|
timeout: 1 * MINUTE,
|
||||||
freshness: 5 * MINUTE,
|
freshness: 5 * MINUTE,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue