KamoCRM

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

FixDaemonService
Name
lúc 07:04 23 tháng 3, 2026 UTC
Tác giả
Kamo
Cam kết
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

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Tất cả những thứ đó đều đến trong không gian làm việc của anh. Bắt đầu với kế hoạch miễn phí và đọc lại trang này trong một tháng.

Bắt đầu tự do mãi mãiXem truy cập