Fix limit on influxdb
Change-Id: I295d3949765ccb8fc4661a85fd48639b783a03ca
This commit is contained in:
parent
2f42f02ee8
commit
5452dd574b
@ -108,7 +108,7 @@ def paging(response, datamodel, live_query=None):
|
||||
"""
|
||||
if live_query and live_query.paging:
|
||||
limit_paging = live_query.paging.size * (live_query.paging.page + 1)
|
||||
limit = live_query.paging.size + live_query.paging.page
|
||||
limit = limit_paging + live_query.paging.size
|
||||
offset_paging = live_query.paging.page * live_query.paging.size
|
||||
|
||||
def sort_by_time(init, point_tag):
|
||||
|
@ -9,4 +9,4 @@ testrepository>=0.0.18
|
||||
https://github.com/aviau/mongomock/archive/create_index.zip#egg=mongomock
|
||||
requests_mock
|
||||
sphinx_rtd_theme
|
||||
docker-compose
|
||||
docker-compose==1.3.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user