You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Function to get the full log contentfunctiongetLog(){if(isLogCheckboxChecked){$.get(`/log?lastIndex=${lastReceivedLogIndex}`,function(data){// Process and display the new log entries received$("#log-content").append(data);// Scroll to the bottom of the log content$("#log-content").scrollTop($("#log-content")[0].scrollHeight);// Update the last received log indexlastReceivedLogIndex+=data.length;// Call getLog() again after a certain interval (e.g., 1 second)setTimeout(getLog,1000);});}}
Is your feature request related to a problem?
No response
Proposed solution
Analytics log: rewrite the logic using long polling
Alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: