@bobfrankston/rmfmail 1.2.114 → 1.2.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8126,6 +8126,10 @@ function handleConnectProgress(event) {
8126
8126
  function renderConnectTick() {
8127
8127
  const el = document.getElementById("status-sync");
8128
8128
  if (!el || activeConnects.size === 0) return;
8129
+ const now = Date.now();
8130
+ for (const [k, c] of activeConnects) {
8131
+ if (now - c.startedAt > 6e5) activeConnects.delete(k);
8132
+ }
8129
8133
  let worst = null;
8130
8134
  for (const c of activeConnects.values()) {
8131
8135
  if (!worst || c.startedAt < worst.startedAt) worst = c;