From a4e3906c3be02ea8ad2a6d21bdae6a1ee08c380e Mon Sep 17 00:00:00 2001 From: David Kotnik Date: Wed, 31 Dec 2025 10:28:18 +0100 Subject: [PATCH] =?UTF-8?q?=E2=8F=B0=20Increase=20rate=20limiting=20to=201?= =?UTF-8?q?5s=20(5=20req/min=20quota=20compliance)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/generate_anomalous_fauna.py | 4 ++-- scripts/generate_dino_valley_complete.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/generate_anomalous_fauna.py b/scripts/generate_anomalous_fauna.py index 85f5b610d..08b51edd8 100644 --- a/scripts/generate_anomalous_fauna.py +++ b/scripts/generate_anomalous_fauna.py @@ -227,8 +227,8 @@ def main(): else: failed += 1 - # Rate limiting - time.sleep(2) + # Rate limiting (5 requests/min limit) + time.sleep(15) # Progress progress = ((current / total_creatures) * 100) diff --git a/scripts/generate_dino_valley_complete.py b/scripts/generate_dino_valley_complete.py index 82ba999e0..1e64841b8 100644 --- a/scripts/generate_dino_valley_complete.py +++ b/scripts/generate_dino_valley_complete.py @@ -146,7 +146,7 @@ def run_generation(): else: stats['failed'] += 1 - time.sleep(2) # Rate limiting + time.sleep(15) # Rate limiting (5 req/min limit) # Generate styleB stats['total'] += 1 @@ -164,7 +164,7 @@ def run_generation(): progress = (stats['total'] / manifest['remaining']) * 100 print(f"\nšŸ“Š Progress: {progress:.1f}% | Success: {stats['success']} | Failed: {stats['failed']}") - time.sleep(2) # Rate limiting + time.sleep(15) # Rate limiting (5 req/min limit) # Final summary print("\n" + "="*70)