INNER CODE UNIT · JavaScript
stopPersistingTicker
smithyhq/sqladmin · sqladmin/statics/js/main.js:83
function stopPersistingTicker() {
if (persistingTickerId) {
clearInterval(persistingTickerId);
persistingTickerId = null;
}
persistingStartedAtMs = null;
}
function renderPersistingProgressText() {
if (persistingStartedAtMs == null) {
return;
}
const elapsedSeconds = Math.max(
0,
Math.floor((Date.now() - persistingStartedAtMs) / 1000)
);