mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 04:49:37 +02:00
Adjust batch size in download-countries command for improved processing efficiency; update installer banner for better visual alignment.
This commit is contained in:
parent
d34a9001c0
commit
37866660d3
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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 ║
|
||||
║ ║
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue