(sourceId = '')
| 3110 | } |
| 3111 | |
| 3112 | function getFolderStatsTimeout(sourceId = '') { |
| 3113 | const type = String(getSourceTypeById(sourceId || getGlobalActiveSourceId()) || '').toLowerCase(); |
| 3114 | if (type && type !== 'local') return 6000; |
| 3115 | return 2500; |
| 3116 | } |
| 3117 | |
| 3118 | function _runFolderStats(url, timeoutMs) { |
| 3119 | return new Promise(resolve => { |
no test coverage detected