jhkaktus 0adf9eb42c Skip over-long URLs before inserting into crawl_queue
Extremely long URLs exceeded the PostgreSQL B-tree index row limit
(~2704 bytes) on crawl_queue.url and crashed workers with
ProgramLimitExceeded. queue_urls() now drops URLs whose UTF-8
representation exceeds MAX_QUEUE_URL_BYTES (2000), logs a warning with
the skipped count and limit, and returns 0 early when nothing remains.
The INSERT with ON CONFLICT (url) DO NOTHING and the DB schema are
unchanged, so other crawler instances stay compatible.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-06 10:42:19 +02:00
2026-09-02 20:06:04 +02:00
2026-09-05 21:50:42 +02:00
2026-09-02 19:54:49 +02:00
2026-09-05 21:50:42 +02:00
2026-09-02 16:14:24 +00:00
2026-09-02 19:54:49 +02:00

search

das komplette serverjonas search

  • crawler.py – PostgreSQL-Crawler, baut den Suchindex auf
  • search/ – Suchmaschine darüber (CLI + HTTP-API), siehe search/README.md
  • web/ – Statistik-Webseite
S
Description
das komplette serverjonas search
Readme MIT
538 KiB
Languages
Python 98.1%
Shell 1.3%
PLpgSQL 0.6%