Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 7, 2023. It is now read-only.
This repository was archived by the owner on Sep 7, 2023. It is now read-only.

Extend global timeout when there is no result #948

@dalf

Description

@dalf

Currently, if all search engines timeout, the user doesn't have any result to read.
In this scenario, the user usually refresh the page to make sure there is really no result : and sometimes it displays some results.

Technically, this can happen when the HTTPS connections have been closed. On the second try, the connections are already opened, and the results arrived before the global timeout.

See : https://news.ycombinator.com/item?id=14579491#14581065

I see two solutions (most probably there are a lot of more) :

  • advise the administrator to increase the global timeout in this case. How ?
  • change the searx behavior : if there is no results after the timeout, double the timeout and wait more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions