Remove some redundant patches from the hotfixes branch

This commit is contained in:
Richard van der Hoff 2021-08-26 09:45:19 +01:00
parent fe3466a8ad
commit ac646fed06
3 changed files with 2 additions and 5 deletions

View file

@ -47,7 +47,6 @@ class RoomListHandler(BaseHandler):
def __init__(self, hs: "HomeServer"):
super().__init__(hs)
self.enable_room_list_search = hs.config.enable_room_list_search
self.response_cache: ResponseCache[
Tuple[Optional[int], Optional[str], Optional[ThirdPartyInstanceID]]
] = ResponseCache(hs.get_clock(), "room_list")

View file

@ -61,7 +61,6 @@ logger = logging.getLogger(__name__)
# Debug logger for https://github.com/matrix-org/synapse/issues/4422
issue4422_logger = logging.getLogger("synapse.handler.sync.4422_debug")
SYNC_RESPONSE_CACHE_MS = 2 * 60 * 1000
# Counts the number of times we returned a non-empty sync. `type` is one of
# "initial_sync", "full_state_sync" or "incremental_sync", `lazy_loaded` is

View file

@ -84,9 +84,8 @@ class BackgroundUpdater:
MINIMUM_BACKGROUND_BATCH_SIZE = 100
DEFAULT_BACKGROUND_BATCH_SIZE = 100
# temporarily increased to make stream_ordering go faster: rv 2021/06/29
BACKGROUND_UPDATE_INTERVAL_MS = 10
BACKGROUND_UPDATE_DURATION_MS = 1000
BACKGROUND_UPDATE_INTERVAL_MS = 1000
BACKGROUND_UPDATE_DURATION_MS = 100
def __init__(self, hs: "HomeServer", database: "DatabasePool"):
self._clock = hs.get_clock()