Align live refresh interval
This commit is contained in:
@@ -9,7 +9,7 @@ from pathlib import Path
|
|||||||
DEFAULT_HOST = "127.0.0.1"
|
DEFAULT_HOST = "127.0.0.1"
|
||||||
DEFAULT_PORT = 8000
|
DEFAULT_PORT = 8000
|
||||||
DEFAULT_STORAGE_FILENAME = "hll_vietnam_dev.sqlite3"
|
DEFAULT_STORAGE_FILENAME = "hll_vietnam_dev.sqlite3"
|
||||||
DEFAULT_REFRESH_INTERVAL_SECONDS = 120
|
DEFAULT_REFRESH_INTERVAL_SECONDS = 300
|
||||||
DEFAULT_HISTORICAL_CRCON_PAGE_SIZE = 50
|
DEFAULT_HISTORICAL_CRCON_PAGE_SIZE = 50
|
||||||
DEFAULT_HISTORICAL_CRCON_TIMEOUT_SECONDS = 15.0
|
DEFAULT_HISTORICAL_CRCON_TIMEOUT_SECONDS = 15.0
|
||||||
DEFAULT_HISTORICAL_CRCON_DETAIL_WORKERS = 8
|
DEFAULT_HISTORICAL_CRCON_DETAIL_WORKERS = 8
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Progressive enhancement for local frontend-backend checks.
|
// Progressive enhancement for local frontend-backend checks.
|
||||||
const DEFAULT_SERVER_POLL_INTERVAL_MS = 120 * 1000;
|
const DEFAULT_SERVER_POLL_INTERVAL_MS = 300 * 1000;
|
||||||
const SERVER_HISTORY_URLS = Object.freeze({
|
const SERVER_HISTORY_URLS = Object.freeze({
|
||||||
"comunidad-hispana-01": "https://scoreboard.comunidadhll.es/games",
|
"comunidad-hispana-01": "https://scoreboard.comunidadhll.es/games",
|
||||||
"comunidad-hispana-02": "https://scoreboard.comunidadhll.es:5443/games",
|
"comunidad-hispana-02": "https://scoreboard.comunidadhll.es:5443/games",
|
||||||
@@ -43,7 +43,7 @@ const COMMUNITY_CLANS = Object.freeze([
|
|||||||
badge: "Clan CH",
|
badge: "Clan CH",
|
||||||
description:
|
description:
|
||||||
"Clan activo de la comunidad, con acceso directo a su discord.",
|
"Clan activo de la comunidad, con acceso directo a su discord.",
|
||||||
logoSrc: "",
|
logoSrc: "./assets/img/clans/h9h.png",
|
||||||
logoAlt: "",
|
logoAlt: "",
|
||||||
logoClassName: "",
|
logoClassName: "",
|
||||||
discordUrl: "https://discord.gg/tYnXK7MQjB",
|
discordUrl: "https://discord.gg/tYnXK7MQjB",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body
|
<body
|
||||||
data-backend-base-url="http://127.0.0.1:8000"
|
data-backend-base-url="http://127.0.0.1:8000"
|
||||||
data-server-refresh-ms="120000"
|
data-server-refresh-ms="300000"
|
||||||
>
|
>
|
||||||
<div class="page-shell">
|
<div class="page-shell">
|
||||||
<header class="hero">
|
<header class="hero">
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
<div class="panel__shell">
|
<div class="panel__shell">
|
||||||
<div class="panel__header panel__header--servers">
|
<div class="panel__header panel__header--servers">
|
||||||
<div>
|
<div>
|
||||||
<p class="eyebrow eyebrow--section">Servidores</p>
|
<p class="eyebrow eyebrow--section">Servidores públicos</p>
|
||||||
<h2 id="servers-title">Estado actual de servidores</h2>
|
<h2 id="servers-title">Estado actual de servidores</h2>
|
||||||
</div>
|
</div>
|
||||||
<p class="status-chip status-chip--fallback" id="servers-badge">
|
<p class="status-chip status-chip--fallback" id="servers-badge">
|
||||||
@@ -89,11 +89,11 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="panel__intro panel__intro--tight">
|
<p class="panel__intro panel__intro--tight">
|
||||||
El panel muestra el ultimo snapshot disponible consultado desde backend.
|
El panel muestra el ultimo estado disponible consultado de los servidores.
|
||||||
</p>
|
</p>
|
||||||
<div class="panel__actions panel__actions--compact">
|
<div class="panel__actions panel__actions--compact">
|
||||||
<a class="secondary-button secondary-button--compact" href="./historico.html">
|
<a class="secondary-button secondary-button--compact" href="./historico.html">
|
||||||
Abrir zona historica del proyecto
|
Abrir zona historico
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="servers-grid" id="servers-list">
|
<div class="servers-grid" id="servers-list">
|
||||||
|
|||||||
Reference in New Issue
Block a user