Skip to content

Commit

Permalink
fix: Allow YDB web gui to run whilst ABP is loading
Browse files Browse the repository at this point in the history
  • Loading branch information
medwar99 committed Feb 4, 2025
1 parent bc2bd2f commit 2403885
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions startup_scripts/assign-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ function load_abp_to_assign {
echo "Producing checksum for $abp_dir." && calc_abp_checksum > $abp_checksum
}

{
# If either ABP checksum or YDB checksum are missing then we presume data hasn't been loaded previously.
if [[ ! -f "$abp_checksum" || ! -f "$ydb_checksum" ]]; then
if [ ! -f "$abp_checksum" ]; then echo "$abp_checksum is missing."; fi
Expand Down Expand Up @@ -104,6 +105,7 @@ yottadb -run INT^VUE # File upload/download
yottadb -run SETUP^UPRNHOOK2 # UPRN retrieval
yottadb -run ^NEL # request handling
yottadb -run ^ADDWEBAUTH # Add creds
} &

# Startup webgui.
echo "Starting YottaDB GUI endpoint"
Expand Down

0 comments on commit 2403885

Please sign in to comment.