Rewrite GeoLite sync — correct download URL, streaming hash, batch inserts

FixDaemonService
Expediere
23 martie 2026 la 07:04 UTC
Autor
Kamo
Comite
4804d38

- Use MaxMind's current permalink API with HTTP Basic Auth (account-id + license-key) - Streaming SHA-256 instead of Files.readAllBytes (prevents OOM on 100MB+ file) - Batch INSERT (500 rows/batch) instead of row-by-row (orders of magnitude faster) - Download to file via HttpClient.BodyHandlers.ofFile (no memory buffering) - Delete zip after extraction to free disk space before DB import - Increase pod memory limit from 512Mi to 1Gi for import processing - Add daemon.geolite.account-id config

Toate modificările

Ca ceea ce vezi de transport maritim?

Fiecare dintre aceste actualizări aterizează automat în spațiul de lucru. Începe gratuit și urmăriți-l crească săptămână după săptămână.

Pornește gratuit pentru totdeaunaVezi prețurile