Skip to content

Slow Query #165

@PaddyLock

Description

@PaddyLock

I am using api-guard in the normal way. When I look at the query times in the debug toolbar, the api-guard query is always tagged as slow:

select * from api_keyswherekey= '0b0c7be24c74c79c7efe7568b770749f1599cf60' andapi_keys.deleted_at is null limit 1

Time = 184.12ms

Why is the query so slow?
What can I do to speed it up?

If I run the query direct on my database then it runs very quickly.

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