MCPcopy Create free account
hub / github.com/error311/FileRise / getFolderStatsTimeout

Function getFolderStatsTimeout

public/js/fileListView.js:3112–3116  ·  view source on GitHub ↗
(sourceId = '')

Source from the content-addressed store, hash-verified

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

Callers 1

fetchFolderStatsFunction · 0.85

Calls 2

getGlobalActiveSourceIdFunction · 0.85
getSourceTypeByIdFunction · 0.70

Tested by

no test coverage detected