KamoCRM

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

FixDaemonService
Navios
23 de março de 2026 às 07:04 UTC
Autor
Kamo
Enviar
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

Todas as alterações

Como o que vês no transporte?

Tudo isso chega em seu espaço de trabalho por conta própria. Comece no plano gratuito e leia esta página novamente em um mês.

Começar Livre Para SempreVer Preços