fix a break in front end content from backend

This commit is contained in:
Broque Thomas 2025-08-27 15:32:20 -07:00
parent 39a6a87ab5
commit 6ff6cc0e59
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ transfer_data_cache = {
'data': {}, 'data': {},
'last_update': 0, 'last_update': 0,
'update_lock': threading.Lock(), 'update_lock': threading.Lock(),
'cache_duration': 1.5 # Cache for 1.5 seconds to reduce API calls 'cache_duration': 0.75 # Cache for 0.75 seconds for faster updates
} }
def get_cached_transfer_data(): def get_cached_transfer_data():

View file

@ -2055,7 +2055,7 @@ function startModalDownloadPolling(playlistId) {
} catch (error) { } catch (error) {
console.error(`Polling error for ${playlistId}:`, error); console.error(`Polling error for ${playlistId}:`, error);
} }
}, 2000); }, 500);
} }
async function updateModalWithLiveDownloadProgress() { async function updateModalWithLiveDownloadProgress() {
try { try {