Skip to content

Consider adding timeout to announce-shop url to prevent long timeouts #36

@chrisjsimpson

Description

@chrisjsimpson

Is your feature request related to a problem? Please describe.

When a shop is down, then the shop announcement will fail, the announcement currently happens via a uwsgi cron(not to be confused with cron) curl request , but has no timeout so uses the default (which is?). This causes significant cpu load when shops are offline.

Describe the solution you'd like
Consider adding timeout to the curl shop announce uwsgi cron reduced, so that it fails fast.

Describe alternatives you've considered
Doing something entirely different

Additional context

  • is there a better way?
  • work out how to reduce the default connect timeout in man curl (there might be more than one e.g. connect timeout vs lookup timeout)
  • #37
  • update existing shops timeout

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