mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-20 21:18:44 -04:00
Fix some typos.
This commit is contained in:
parent
2c9b4a5f16
commit
7950aa8a27
23 changed files with 34 additions and 34 deletions
|
@ -64,7 +64,7 @@ class StateDeltasStore(SQLBaseStore):
|
|||
def get_current_state_deltas_txn(txn):
|
||||
# First we calculate the max stream id that will give us less than
|
||||
# N results.
|
||||
# We arbitarily limit to 100 stream_id entries to ensure we don't
|
||||
# We arbitrarily limit to 100 stream_id entries to ensure we don't
|
||||
# select toooo many.
|
||||
sql = """
|
||||
SELECT stream_id, count(*)
|
||||
|
@ -81,7 +81,7 @@ class StateDeltasStore(SQLBaseStore):
|
|||
for stream_id, count in txn:
|
||||
total += count
|
||||
if total > 100:
|
||||
# We arbitarily limit to 100 entries to ensure we don't
|
||||
# We arbitrarily limit to 100 entries to ensure we don't
|
||||
# select toooo many.
|
||||
logger.debug(
|
||||
"Clipping current_state_delta_stream rows to stream_id %i",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue