Add desc to `get_earliest_token_for_stats` (#13085)

code_spécifique_watcha
Erik Johnston 2 years ago committed by GitHub
parent 90cadcd403
commit 8ceed5e6b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/13085.misc
  2. 1
      synapse/storage/databases/main/stats.py

@ -0,0 +1 @@
Correctly report prometheus DB stats for `get_earliest_token_for_stats`.

@ -295,6 +295,7 @@ class StatsStore(StateDeltasStore):
keyvalues={id_col: id},
retcol="completed_delta_stream_id",
allow_none=True,
desc="get_earliest_token_for_stats",
)
async def bulk_update_stats_delta(

Loading…
Cancel
Save