From 18f5915b8f5cf4dcf983415673c2495dd575626e Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Fri, 31 May 2024 14:30:09 -0600 Subject: [PATCH] updates! --- app/templates/index.html | 4 ++-- makefile | 2 +- profiles.default.toml | 4 ++-- requirements.txt | 3 ++- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index 6ebd3c3..f50cbba 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -174,8 +174,8 @@ formattedPath += '-'; } - // Append '.mp4' to the formatted path - let videoPath = `${formattedPath}latest.mp4&t={Date.now()}`; + // Append '.mp4' to the formatted path + cache bust + let videoPath = `${formattedPath}latest.mp4` + "?t=" + Date.now(); let videoPlayer = document.getElementById('video-player'); let videoSource = document.getElementById('video-source'); diff --git a/makefile b/makefile index 8e42780..4afb68c 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ run: build - docker run --rm -ti --name noaa -e HOST_NAME=localhost -p 9021:9021 -p 4200:4200 noaa + docker run --rm -ti --name noaa -e LIGHTNING_CLOUDSPACE_HOST=noaa.clfx.cc -p 9021:9021 -p 4200:4200 noaa build: docker build -t noaa . diff --git a/profiles.default.toml b/profiles.default.toml index 3e054f9..be11d79 100644 --- a/profiles.default.toml +++ b/profiles.default.toml @@ -10,5 +10,5 @@ PREFECT_API_SERVICES_SCHEDULER_INSERT_BATCH_SIZE = 500 PREFECT_API_SERVICES_SCHEDULER_LOOP_SECONDS = 60 PREFECT_API_SERVICES_SCHEDULER_MIN_RUNS = 3 PREFECT_API_SERVICES_SCHEDULER_MAX_RUNS = 100 -PREFECT_API_SERVICES_SCHEDULER_MIN_SCHEDULED_TIME = '0:30:00' -PREFECT_API_SERVICES_SCHEDULER_MAX_SCHEDULED_TIME = '0 days, 8:00:00' +PREFECT_API_SERVICES_SCHEDULER_MIN_SCHEDULED_TIME = '00:30:00' +PREFECT_API_SERVICES_SCHEDULER_MAX_SCHEDULED_TIME = '08:00:00' diff --git a/requirements.txt b/requirements.txt index 1fb8e3c..d7a6a82 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ -prefect==2.17.1 +#prefect==2.17.1 +prefect==3.0.0rc1 Flask==3.0.3 gunicorn==22.0.0 gevent==24.2.1