Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cpu_count (0.04 sec)

  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()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
Back to top