Skip to content

502 Error when searching with high delta on few users #467

@mattiaverga

Description

@mattiaverga

Searching for actions from a few users causes 502 Error response when using high delta in query.
For example:
https://apps.fedoraproject.org/datagrepper/raw/?user=karsten&category=bodhi&order=desc&rows_per_page=50&delta=5184000

I can reproduce every time with user karsten with a delta of 60 days, but I don't think it's due to too many entries detected for the user, as a delta of just 30 days shows no entries (but it takes a lot of time).
Querying other users with the same delta and with much more activity doesn't show any problem and the reply is blazing fast. For example:
https://apps.fedoraproject.org/datagrepper/raw/?user=mattia&category=bodhi&order=desc&rows_per_page=50&delta=5184000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions