From d3a6e38c96d95f5c6fa1dc41401ad09d293c218c Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 4 May 2021 10:40:18 +0100 Subject: Apply suggestions from code review Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- synapse/config/server.py | 2 +- synapse/metrics/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'synapse') diff --git a/synapse/config/server.py b/synapse/config/server.py index ca1c9711f8..e95925d1ab 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -924,7 +924,7 @@ class ServerConfig(Config): # A value of `[1, 10, 30]` indicates that a second must pass between consecutive # generation 0 GCs, etc. # - # gc_min_seconds_between: [1, 10, 30] + #gc_min_seconds_between: [1, 10, 30] # Set the limit on the returned events in the timeline in the get # and sync operations. The default value is 100. -1 means no upper limit. diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py index 6de91d826c..93662fa134 100644 --- a/synapse/metrics/__init__.py +++ b/synapse/metrics/__init__.py @@ -539,7 +539,7 @@ REGISTRY.register(ReactorLastSeenMetric()) # thresholds and counts. MIN_TIME_BETWEEN_GCS = [1, 10, 30] -# The time in seconds of the last time we did a GC for each generation. +# The time (in seconds since the epoch) of the last time we did a GC for each generation. _last_gc = [0, 0, 0] -- cgit 1.5.1