Skip to content

High proxy thread usage #393

@Theyka

Description

@Theyka

Hello I have system which I create 40 browsers like this:

from camoufox.async_api import AsyncCamoufox

camoufox = AsyncCamoufox(headless=self.headless, os="macos")
browser = await camoufox.start()

(I did not include the full code.)

and there is a task system that picks a random browser from the pool creates a context with a random proxy and then closes the context when the task ends. The problem is that I have 2000 thread proxies and with only 40 contexts it already hits the limit. This doesn’t happen with Playwright. Does Camoufox does some checks when connecting to the proxy ? if this is the reason can we disable it ?

Pip package:    v0.4.11
Camoufox:       v135.0.1-beta.24 (Up to date!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions