summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-05-04 10:40:18 +0100
committerGitHub <noreply@github.com>2021-05-04 10:40:18 +0100
commitd3a6e38c96d95f5c6fa1dc41401ad09d293c218c (patch)
treed5930ac2a02b8840a46d6b48d6ffa337102c954b
parentNewsfile (diff)
downloadsynapse-d3a6e38c96d95f5c6fa1dc41401ad09d293c218c.tar.xz
Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-rw-r--r--synapse/config/server.py2
-rw-r--r--synapse/metrics/__init__.py2
2 files changed, 2 insertions, 2 deletions
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]