Skip to content

The "Get Metrics" API endpoint takes 15 seconds to run every time #7720

@piotrkulpinski

Description

@piotrkulpinski

Description

Not sure why, but every GET request to https://api.polar.sh/v1/metrics/ endpoint, takes up to 15 seconds. I wasn't able to replicate this on other endpoints, which is weird

Current Behavior

A simple API call takes 15 seconds to run

Expected Behavior

I'd expect it to run under 1s just like the rest of the endpoints

Screenshots

CleanShot.2025-11-07.at.22.04.06.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions