Revision fbe3803820a5c348861057e40e4cd3a5460843a3 authored by Antoine Lambert on 13 July 2022, 14:44:13 UTC, committed by Antoine Lambert on 13 July 2022, 14:44:35 UTC
Even if missing index to speedup origin visit queries has
been added to replica database, the configured timeouts for
origin_visit_get_with_statuses and origin_visit_find_by_date
were still too low to avoid query timeouts in production.

After performing some tests locally, bumping them to 2000ms
makes the timeouts go away.

Related to T4386
1 parent cfc8679
Raw File
conftest.py
# Copyright (C) 2020  The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information

pytest_plugins = ["swh.storage.pytest_plugin", "swh.core.db.pytest_plugin"]
back to top