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

FixDaemonService
已装运
2026年3月23日 07:04 UTC
作者
Kamo
提交
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

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价