diegosouzapw/OmniRoute · error

[ARENA_ELO_SYNC] Periodic sync error:

Error message

[ARENA_ELO_SYNC] Periodic sync error:

What it means

Error "[ARENA_ELO_SYNC] Periodic sync error:" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/arenaEloSync.ts:497

        );
      }
    })
    .catch((err) => {
      console.warn(
        "[ARENA_ELO_SYNC] Initial sync error:",
        err instanceof Error ? err.message : err
      );
    });

  syncTimer = setInterval(() => {
    syncArenaElo()
      .then((result) => {
        if (result.success) {
          console.log(`[ARENA_ELO_SYNC] Periodic sync complete: ${result.modelCount} entries`);
        }
      })
      .catch((err) => {
        console.warn(
          "[ARENA_ELO_SYNC] Periodic sync error:",
          err instanceof Error ? err.message : err
        );
      });
  }, interval);

  // Prevent the timer from keeping the process alive
  if (syncTimer && typeof syncTimer === "object" && "unref" in syncTimer) {
    (syncTimer as { unref?: () => void }).unref?.();
  }
}

/**
 * Stop periodic Arena ELO sync and clean up the timer.
 */
export function stopArenaEloSync(): void {
  if (syncTimer) {
    clearInterval(syncTimer);

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/arenaEloSync.ts:497 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/528709fa7d86a203. Report an issue: GitHub.