summaryrefslogtreecommitdiff
path: root/searx/settings_loader.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-02-04 14:41:53 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2022-02-04 14:55:21 +0100
commitddc2102a075d9690b9e98e16cef2ae3c1e5268f3 (patch)
tree3cbd5b1076a67291ef009a40bf054e562ca0a7c8 /searx/settings_loader.py
parentd6061b7c8a9607d13bd1569fd409a4f0167afd42 (diff)
[fix] solidtorrents engine: store random bas_url in param
Two different threads ( = two different user queries) can call the request function in a row and then the response function. The namespace will be same since this is the same engine. To keep exactly the same value ``base_url`` must be stored in params and then retrieve using ``resp.search_params["base_url"]``. Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#discussion_r799324861 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/settings_loader.py')
0 files changed, 0 insertions, 0 deletions