(sourceId = '')
| 901 | let _activeCountReqs = 0; |
| 902 | const _countReqQueue = []; |
| 903 | function getCountTimeoutMs(sourceId = '') { |
| 904 | const type = String(getSourceTypeById(sourceId || getActiveSourceId()) || '').toLowerCase(); |
| 905 | if (type && type !== 'local') return 6000; |
| 906 | return 2500; |
| 907 | } |
| 908 | function _runCount(url, timeoutMs) { |
| 909 | return new Promise(resolve => { |
| 910 | const start = () => { |
no test coverage detected