0adf9eb42c3a236ca48e62701f94cafdba77e006
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>
search
das komplette serverjonas search
crawler.py– PostgreSQL-Crawler, baut den Suchindex aufsearch/– Suchmaschine darüber (CLI + HTTP-API), siehe search/README.mdweb/– Statistik-Webseite
Languages
Python
98.1%
Shell
1.3%
PLpgSQL
0.6%