summary refs log tree commit diff
path: root/synapse/storage/data_stores/main/stats.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/data_stores/main/stats.py')
-rw-r--r--synapse/storage/data_stores/main/stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/stats.py b/synapse/storage/data_stores/main/stats.py

index 3aeba859fd..b306478824 100644 --- a/synapse/storage/data_stores/main/stats.py +++ b/synapse/storage/data_stores/main/stats.py
@@ -260,11 +260,11 @@ class StatsStore(StateDeltasStore): slice_list = self.simple_select_list_paginate_txn( txn, table + "_historical", - {id_col: stats_id}, "end_ts", start, size, retcols=selected_columns + ["bucket_size", "end_ts"], + keyvalues={id_col: stats_id}, order_direction="DESC", )