From 37866660d38cdcca958ccd29298f3e5ee272bce7 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Tue, 27 May 2025 09:59:15 -0400 Subject: [PATCH] Adjust batch size in download-countries command for improved processing efficiency; update installer banner for better visual alignment. --- .../worldtravel/management/commands/download-countries.py | 2 +- install_adventurelog.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/server/worldtravel/management/commands/download-countries.py b/backend/server/worldtravel/management/commands/download-countries.py index 0cef78a..93c47c1 100644 --- a/backend/server/worldtravel/management/commands/download-countries.py +++ b/backend/server/worldtravel/management/commands/download-countries.py @@ -43,7 +43,7 @@ class Command(BaseCommand): def handle(self, **options): force = options['force'] - batch_size = 1000 # Larger batch size for better efficiency + batch_size = 500 # Larger batch size for better efficiency countries_json_path = os.path.join(settings.MEDIA_ROOT, f'countries+regions+states-{COUNTRY_REGION_JSON_VERSION}.json') if not os.path.exists(countries_json_path) or force: diff --git a/install_adventurelog.sh b/install_adventurelog.sh index cd84ba4..fddb565 100755 --- a/install_adventurelog.sh +++ b/install_adventurelog.sh @@ -55,7 +55,7 @@ print_banner() { cat << 'EOF' ╔══════════════════════════════════════════════════════════════════════╗ ║ ║ -║ 🌍 A D V E N T U R E L O G I N S T A L L E R ║ +║ 🌍 A D V E N T U R E L O G I N S T A L L E R ║ ║ ║ ║ The Ultimate Travel Companion ║ ║ ║