Fix non integer limit

This commit is contained in:
Erik Johnston 2018-05-23 11:37:25 +01:00
parent 8446bce733
commit aadcb6298d
1 changed files with 2 additions and 1 deletions

View File

@ -757,7 +757,8 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore):
bounds += " AND " + filter_clause
args.extend(filter_args)
args.append(int(limit))
limit = int(limit)
args.append(limit)
sql = (
"SELECT event_id, chunk_id, topological_ordering, stream_ordering"