Skip to content

Commit 1c1d6c2

Browse files
committed
Don't double yield the same gauge
See #18791 (comment)
1 parent 9e07d37 commit 1c1d6c2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

synapse/metrics/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ def collect(self) -> Iterable[Metric]:
190190
self.name,
191191
homeserver_instance_id,
192192
)
193-
yield g
194193
# Continue to return the rest of the metrics that aren't broken
195194
continue
196195

0 commit comments

Comments
 (0)