mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[courier/callClient] if there are no executable requests, do nothing
This commit is contained in:
parent
c12f18df27
commit
8fef03b816
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ export default function CourierFetchCallClient(Private, Promise, es, esShardTime
|
|||
const executable = statuses.filter(isRequest);
|
||||
let execCount = executable.length;
|
||||
|
||||
if (!execCount) return Promise.resolve([]);
|
||||
|
||||
// resolved by respond()
|
||||
let esPromise;
|
||||
const defer = Promise.defer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue