Quick fix for plugins loaded timeouts

In some cases (auth expiry? caching? not yet known) plugins fail to
load. Fail faster to reduce the impact. Will be followed with a proper
fix once the root cause is determined.

Bug: Issue 8945
Change-Id: I354c263c5cc97bd8dd5c49cf5871f10f3741a58b
This commit is contained in:
Viktar Donich
2018-05-07 14:23:54 -07:00
parent 1ed7d702da
commit 003968da85

View File

@@ -34,7 +34,7 @@
CHANGE_SCREEN_BELOW_CHANGE_INFO_BLOCK: 'change-metadata-item',
};
const PLUGIN_LOADING_TIMEOUT_MS = 60000;
const PLUGIN_LOADING_TIMEOUT_MS = 10000;
let _restAPI;
const getRestAPI = () => {