Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for cpu_count (0.06 seconds)

  1. scripts/docs.py

        langs = [
            lang.name
            for lang in get_lang_paths()
            if (lang.is_dir() and lang.name in SUPPORTED_LANGS)
        ]
        cpu_count = os.cpu_count() or 1
        process_pool_size = cpu_count * 4
        typer.echo(f"Using process pool size: {process_pool_size}")
        with Pool(process_pool_size) as p:
            p.map(build_lang, langs)
    
    
    @app.command()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
Back to Top