From 7ffe52882d70d5dfc348c932be9d0af0a6108334 Mon Sep 17 00:00:00 2001 From: zstadler Date: Thu, 9 Jan 2025 16:30:34 +0200 Subject: [PATCH 1/3] Fix broken link in README.md (#49) Thanks a lot, good catch! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ba199f..633b82a 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ The original idea of this project is to avoid using tile servers altogether. Ins This replaces a running service with a pure, file-system-level implementation. Since the Linux kernel's file caching is among the highest-performing and most thoroughly tested codes ever written, it delivers serious performance. -I run some [benchmarks](docs/quick_notes/http_benchmark.md) on a Hetzner server, the aim was to saturate a gigabit connection. At the end, it was able to serve 30 Gbit on loopback interface, on cold nginx cache. +I run some [benchmarks](docs/benchmark/README.md) on a Hetzner server, the aim was to saturate a gigabit connection. At the end, it was able to serve 30 Gbit on loopback interface, on cold nginx cache. ## Code structure From bdc5ab3a6010e71a2725f8a2ebd1de6b75c18968 Mon Sep 17 00:00:00 2001 From: tbodt Date: Thu, 9 Jan 2025 10:40:14 -0800 Subject: [PATCH 2/3] Add Toki Pona language (#46) --- modules/tile_gen/tile_gen_lib/planetiler.py | 1 + ssh_lib/planetiler.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/tile_gen/tile_gen_lib/planetiler.py b/modules/tile_gen/tile_gen_lib/planetiler.py index af99953..76d4e78 100644 --- a/modules/tile_gen/tile_gen_lib/planetiler.py +++ b/modules/tile_gen/tile_gen_lib/planetiler.py @@ -45,6 +45,7 @@ def run_planetiler(area: str) -> Path: '--output=tiles.mbtiles', '--storage=mmap', '--force', + '--languages=default,tok', ] if area == 'planet': diff --git a/ssh_lib/planetiler.py b/ssh_lib/planetiler.py index 492fc0a..f473530 100644 --- a/ssh_lib/planetiler.py +++ b/ssh_lib/planetiler.py @@ -2,7 +2,7 @@ from ssh_lib import PLANETILER_BIN, PLANETILER_SRC from ssh_lib.utils import apt_get_install, apt_get_update, exists, sudo_cmd -PLANETILER_COMMIT = 'cf49b86' +PLANETILER_COMMIT = 'ee22a014022f1dcc120cba6a768567408ba74908' PLANETILER_PATH = f'{PLANETILER_BIN}/planetiler.jar' From 3419f479e6e354da82e4ddc301415c07e7bb58d3 Mon Sep 17 00:00:00 2001 From: Souleymane Maman Nouri Souley Date: Fri, 7 Feb 2025 21:39:11 -0100 Subject: [PATCH 3/3] Fixe typos (#61) --- config/cloudflare.ini.sample | 2 +- docs/benchmark/nginx_to_path_list.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cloudflare.ini.sample b/config/cloudflare.ini.sample index 9c4a6e1..257bccd 100644 --- a/config/cloudflare.ini.sample +++ b/config/cloudflare.ini.sample @@ -1,3 +1,3 @@ -# --- Let's Encrypt DNS challange, not needed for self-hosting +# --- Let's Encrypt DNS challenge, not needed for self-hosting dns_cloudflare_api_token = xxx diff --git a/docs/benchmark/nginx_to_path_list.py b/docs/benchmark/nginx_to_path_list.py index bbab856..85aa073 100644 --- a/docs/benchmark/nginx_to_path_list.py +++ b/docs/benchmark/nginx_to_path_list.py @@ -3,7 +3,7 @@ import json # This script parses a nginx server log and creates a text file # which can be used in the Lua script. -# The path file is not suppied in this repo. +# The path file is not supplied in this repo. with open('access.jsonl') as fp: json_lines = fp.readlines()