Skip to content

Is 40 seconds still a good default timeout for a sync? #1025

@sssoleileraaa

Description

@sssoleileraaa

Description

Are these measurements still correct? If not, what are the new measurements for how long each api request takes?

Spawned from #1007 (comment)

Here's some current data to go on for how long our three calls take. We currently use the default timeout of 40 seconds for each of these calls, and this will be used once freedomofpress/securedrop-proxy#145 is fixed.

sources=300, messages=600, replies=600, run_count=3

Unit Mean time (seconds)
get_sources endpoint 12
get_all_submissions endpoint 4
get_all_replies endpoint 4

sources=1000...

[need test results]

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