Skip to content

[BUG] Busy-wait loop in waitForHello causes high CPU #133

@Livezt

Description

@Livezt

Bug: Busy-Wait Loop in waitForHello

File: src/web/client/GatewayBrowserClient.ts lines 177-185

Issue: 10ms polling loop with no AbortController. Inefficient polling wastes CPU.

Recommended Fix: Use WebSocket event-based approach or AbortController with setTimeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions