Ajustes UI
This commit is contained in:
@@ -9,7 +9,7 @@ from pathlib import Path
|
||||
DEFAULT_HOST = "127.0.0.1"
|
||||
DEFAULT_PORT = 8000
|
||||
DEFAULT_STORAGE_FILENAME = "hll_vietnam_dev.sqlite3"
|
||||
DEFAULT_REFRESH_INTERVAL_SECONDS = 300
|
||||
DEFAULT_REFRESH_INTERVAL_SECONDS = 60
|
||||
DEFAULT_ALLOWED_ORIGINS = (
|
||||
"null",
|
||||
"http://127.0.0.1:5500",
|
||||
|
||||
@@ -49,13 +49,13 @@ def run_local_refresh_loop(
|
||||
def main() -> None:
|
||||
"""Allow local scheduled refresh execution without adding external infrastructure."""
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Run periodic local snapshot refreshes for development.",
|
||||
description="Run periodic local snapshot refreshes for development and landing demos.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--interval",
|
||||
type=int,
|
||||
default=get_refresh_interval_seconds(),
|
||||
help="Seconds to wait between persisted refresh runs.",
|
||||
help="Seconds to wait between persisted refresh runs. Defaults to env value or 60.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--source",
|
||||
|
||||
Reference in New Issue
Block a user