Skip to content

Statements endpoint is timing out on items with many statements #5

@stuppie

Description

@stuppie

Statements endpoint is timing out on certain items: http://garbanzo.sulab.org/statements/?c=wd%3AQ12206
Need to paginate statements queries:
https://github.com/SuLab/garbanzo/blob/master/lookup.py#L299
https://github.com/SuLab/garbanzo/blob/master/lookup.py#L263

I might have some trouble with the time outs. I cannot make sure the result is globally sorted without retrieving the whole thing. It will be sorted when requesting the next page, but if you change a parameter, it might change the order "globally"

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