Skip to content

[Windows] cpu.Info() timing out #469

Closed
@FlorinAsavoaie

Description

@FlorinAsavoaie

In github.com/shirou/gopsutil/internal/common, there is a Timeout hardcoded for the WMI queries. When the CPU is busy, cpu.Info() (and maybe other stuff as well) is failing as the WMI is taking too long to respond to the query. I would expect to be able to pass this Timeout from my code.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions